Merge pull request #73252 from smix8/navigationserver_improve_rid_not_found_error_4.x
Improve NavigationServer.free() error msg when RID not found
This commit is contained in:
commit
1fcee45ae5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue