diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2023-02-21 03:45:45 +0100 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2023-04-10 15:30:22 +0200 |
commit | 4b0dee080e5eba37dd43346c6c02bb7dce2b39e7 (patch) | |
tree | 0624b8233d9186afdfe1f3742c8f6109c937789d /scene/main/scene_tree.cpp | |
parent | c151d3231f8e5d207f64055c60c70967dd5351b5 (diff) | |
download | redot-engine-4b0dee080e5eba37dd43346c6c02bb7dce2b39e7.tar.gz |
Keep NavigationServer active while SceneTree is paused
Keep NavigationServer active while SceneTree is paused.
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r-- | scene/main/scene_tree.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 9327102cc8..790600bc49 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -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()) { |