aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-23 00:07:02 +0200
committerGitHub2017-08-23 00:07:02 +0200
commiteb238a04dacae397db393cbce74891cf90405a67 (patch)
tree2ea0eab9ba1be6e080c971ccd7e0117bf90842cc
parentbc3c9a3c2aea7a4781f1319d05056ad8db19178e (diff)
parent1b6c9f707678fb37538393c7f7f1743b16f45a11 (diff)
downloadgodot-eb238a04dacae397db393cbce74891cf90405a67.tar.gz
godot-eb238a04dacae397db393cbce74891cf90405a67.tar.zst
godot-eb238a04dacae397db393cbce74891cf90405a67.zip
Merge pull request #10556 from marcelofg55/master
Add missing NULL check for the new show_about() call
-rw-r--r--scene/main/scene_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 00460e9ed..10ab28150 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