1
0
Fork 0

Keep NavigationServer active while SceneTree is paused

Keep NavigationServer active while SceneTree is paused.
This commit is contained in:
smix8 2023-02-21 03:45:45 +01:00
parent c151d3231f
commit 4b0dee080e
1 changed files with 0 additions and 1 deletions

View File

@ -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()) {