summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_library_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/animation_library_editor.cpp')
-rw-r--r--editor/plugins/animation_library_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_library_editor.cpp b/editor/plugins/animation_library_editor.cpp
index f658b2d5e6..6a54bc654f 100644
--- a/editor/plugins/animation_library_editor.cpp
+++ b/editor/plugins/animation_library_editor.cpp
@@ -621,7 +621,7 @@ void AnimationLibraryEditor::update_tree() {
}
tree->clear();
- ERR_FAIL_COND(!player);
+ ERR_FAIL_NULL(player);
Color ss_color = get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor));