mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix memory leak by dropping sky
This commit is contained in:
parent
81c863ac4d
commit
782d06be46
1 changed files with 2 additions and 0 deletions
|
@ -3334,6 +3334,8 @@ void the_game(
|
||||||
clouds->drop();
|
clouds->drop();
|
||||||
if (gui_chat_console)
|
if (gui_chat_console)
|
||||||
gui_chat_console->drop();
|
gui_chat_console->drop();
|
||||||
|
if (sky)
|
||||||
|
sky->drop();
|
||||||
clear_particles();
|
clear_particles();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue