You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Keep NavigationServer active while SceneTree is paused
Keep NavigationServer active while SceneTree is paused.
This commit is contained in:
@@ -825,7 +825,6 @@ void SceneTree::set_pause(bool p_enabled) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
paused = p_enabled;
|
paused = p_enabled;
|
||||||
NavigationServer3D::get_singleton()->set_active(!p_enabled);
|
|
||||||
PhysicsServer3D::get_singleton()->set_active(!p_enabled);
|
PhysicsServer3D::get_singleton()->set_active(!p_enabled);
|
||||||
PhysicsServer2D::get_singleton()->set_active(!p_enabled);
|
PhysicsServer2D::get_singleton()->set_active(!p_enabled);
|
||||||
if (get_root()) {
|
if (get_root()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user