mirror of https://github.com/godotengine/godot
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:
parent
914182ffe3
commit
608317213e
|
|
@ -605,7 +605,7 @@ COMMAND_1(free, RID, p_object) {
|
|||
memdelete(agent);
|
||||
|
||||
} else {
|
||||
ERR_FAIL_COND("RID not found by NavigationServer.");
|
||||
ERR_PRINT("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue