mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00: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:
parent
dfb898094a
commit
d8a64adf24
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ COMMAND_1(free, RID, p_object) {
|
||||||
memdelete(agent);
|
memdelete(agent);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ERR_FAIL_COND("Invalid ID.");
|
ERR_PRINT("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