diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2023-03-05 14:11:35 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-13 22:12:27 +0100 |
commit | 069c48bfdc19644d215397a740bffcfdff34debc (patch) | |
tree | 97cc215068a18b8c97f752f42626d5a8993ef1d0 /modules/navigation/godot_navigation_server.cpp | |
parent | 75e078d88508bcfb139ccdc320e6a88b1a8e0cff (diff) |
Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.
(cherry picked from commit 73dc680fc127014ad805e5968f98ebb3e0281de7)
Diffstat (limited to 'modules/navigation/godot_navigation_server.cpp')
-rw-r--r-- | modules/navigation/godot_navigation_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)."); } } |