mirror of
https://github.com/godotengine/godot.git
synced 2025-03-19 23:53:32 +08:00
Merge pull request #73658 from smix8/do_not_stop_the_entire_server_cause_you_want_to_pause_4x
Keep NavigationServer active while SceneTree is paused
This commit is contained in:
commit
c48219f51e
@ -825,7 +825,6 @@ void SceneTree::set_pause(bool p_enabled) {
|
||||
return;
|
||||
}
|
||||
paused = p_enabled;
|
||||
NavigationServer3D::get_singleton()->set_active(!p_enabled);
|
||||
PhysicsServer3D::get_singleton()->set_active(!p_enabled);
|
||||
PhysicsServer2D::get_singleton()->set_active(!p_enabled);
|
||||
if (get_root()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user