mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Improve NavigationServer.free() error msg when RID not found
Improves the error msg when NavigationServer.free() does not find the RID e.g. because it was already deleted or did never exist in the first place.
This commit is contained in:
parent
853c36ca0b
commit
b51cab3411
@ -757,7 +757,7 @@ COMMAND_1(free, RID, p_object) {
|
||||
agent_owner.free(p_object);
|
||||
|
||||
} else {
|
||||
ERR_FAIL_COND("Invalid ID.");
|
||||
ERR_FAIL_COND("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user