Browse Source

Keep NavigationServer active while SceneTree is paused

Keep NavigationServer active while SceneTree is paused.
smix8 2 years ago
parent
commit
4b0dee080e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/main/scene_tree.cpp

+ 0 - 1
scene/main/scene_tree.cpp

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