diff options
Diffstat (limited to 'editor/editor_paths.cpp')
-rw-r--r-- | editor/editor_paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_paths.cpp b/editor/editor_paths.cpp index 610f66cff9..801c81efa8 100644 --- a/editor/editor_paths.cpp +++ b/editor/editor_paths.cpp @@ -95,7 +95,7 @@ void EditorPaths::create() { } void EditorPaths::free() { - ERR_FAIL_COND(singleton == nullptr); + ERR_FAIL_NULL(singleton); memdelete(singleton); } |