You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -480,7 +480,7 @@ void EditorInterface::create() {
|
||||
}
|
||||
|
||||
void EditorInterface::free() {
|
||||
ERR_FAIL_COND(singleton == nullptr);
|
||||
ERR_FAIL_NULL(singleton);
|
||||
memdelete(singleton);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user