1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

Merge pull request #10556 from marcelofg55/master

Add missing NULL check for the new show_about() call
This commit is contained in:
Rémi Verschelde
2017-08-23 00:07:02 +02:00
committed by GitHub

View File

@@ -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