diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2017-08-22 14:10:36 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2017-08-22 14:21:18 -0300 |
commit | 1b6c9f707678fb37538393c7f7f1743b16f45a11 (patch) | |
tree | 38f0c31fcde3ff4dca85f01c7a582a0335863189 /scene | |
parent | 294e912a843cde241f9abf619f5d40df9ef6ef9f (diff) |
Add missing NULL check for the new show_about() call
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/scene_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 00460e9eda..10ab28150b 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -630,7 +630,7 @@ void SceneTree::_notification(int p_notification) { case NOTIFICATION_WM_ABOUT: { #ifdef TOOLS_ENABLED - if (Engine::get_singleton()->is_editor_hint()) { + if (EditorNode::get_singleton()) { EditorNode::get_singleton()->show_about(); } else { #endif |