mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Backported from godot4: 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.
- smix8
b51cab3411
This commit is contained in:
parent
935ed3c807
commit
f84d928aff
@ -1001,7 +1001,7 @@ COMMAND_1(free, RID, p_object) {
|
||||
|
||||
obstacle_owner.free(p_object);
|
||||
} else {
|
||||
ERR_PRINT("Invalid RID.");
|
||||
ERR_PRINT("Attempted to free a NavigationServer RID that did not exist (or was already freed).");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user