[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@ -95,7 +95,7 @@ void EditorPaths::create() {
|
||||
}
|
||||
|
||||
void EditorPaths::free() {
|
||||
ERR_FAIL_COND(singleton == nullptr);
|
||||
ERR_FAIL_NULL(singleton);
|
||||
memdelete(singleton);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user