From c55f0b4520d00197c68fa4511be6efd3861c016a Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 2 Sep 2023 12:58:49 +0200 Subject: [PATCH] Backported from godot4: Fix NavigationServer free error print Fixes error print for NavigationServer free when a RID can not be found. - smix8 https://github.com/godotengine/godot/commit/73dc680fc127014ad805e5968f98ebb3e0281de7 --- modules/navigation/pandemonium_navigation_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/navigation/pandemonium_navigation_server.cpp b/modules/navigation/pandemonium_navigation_server.cpp index d23250373..0257ba59a 100644 --- a/modules/navigation/pandemonium_navigation_server.cpp +++ b/modules/navigation/pandemonium_navigation_server.cpp @@ -1001,7 +1001,7 @@ COMMAND_1(free, RID, p_object) { obstacle_owner.free(p_object); } else { - ERR_FAIL_COND("Invalid RID."); + ERR_PRINT("Invalid RID."); } }