From 069c48bfdc19644d215397a740bffcfdff34debc Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Sun, 5 Mar 2023 14:11:35 +0100 Subject: Fix NavigationServer free error print Fixes error print for NavigationServer free when a RID can not be found. (cherry picked from commit 73dc680fc127014ad805e5968f98ebb3e0281de7) --- modules/navigation/godot_navigation_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/navigation/godot_navigation_server.cpp b/modules/navigation/godot_navigation_server.cpp index 79e8c3a6d6..ee9687cf3d 100644 --- a/modules/navigation/godot_navigation_server.cpp +++ b/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)."); } } -- cgit v1.2.3