mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.
(cherry picked from commit 73dc680fc1)
This commit is contained in:
@@ -601,7 +601,7 @@ COMMAND_1(free, RID, p_object) {
|
||||
memdelete(agent);
|
||||
|
||||
} else {
|
||||
ERR_FAIL_COND("Invalid ID.");
|
||||
ERR_PRINT("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user