mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 13:47:12 +01:00
Move navigation server finalize before physics server
Moves finalize_navigation_server() before physics server (and also OS in 3.x). The NavigationServer command queue can have objects from other servers like physics or visuals so it needs to be flushed before.
This commit is contained in:
parent
b5c01b8703
commit
d6b6d6668e
@ -2450,9 +2450,9 @@ void Main::cleanup(bool p_force) {
|
||||
memdelete(audio_server);
|
||||
}
|
||||
|
||||
finalize_navigation_server();
|
||||
OS::get_singleton()->finalize();
|
||||
finalize_physics();
|
||||
finalize_navigation_server();
|
||||
|
||||
if (packed_data) {
|
||||
memdelete(packed_data);
|
||||
|
Loading…
Reference in New Issue
Block a user