Add missing NULL check for the new show_about() call

This commit is contained in:
Marcelo Fernandez 2017-08-22 14:10:36 -03:00
parent 294e912a84
commit 1b6c9f7076

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