Browse Source

Fix NavigationServer free error print

Fixes error print for NavigationServer free when a RID can not be found.
smix8 2 years ago
parent
commit
73dc680fc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/navigation/godot_navigation_server.cpp

+ 1 - 1
modules/navigation/godot_navigation_server.cpp

@@ -757,7 +757,7 @@ COMMAND_1(free, RID, p_object) {
 		agent_owner.free(p_object);
 
 	} else {
-		ERR_FAIL_COND("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
+		ERR_PRINT("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
 	}
 }