Fix build after merge of #10254

This commit is contained in:
Rémi Verschelde 2017-08-22 01:16:33 +02:00
parent df590fc2d3
commit b3ff7ca62e

View file

@ -630,7 +630,7 @@ void SceneTree::_notification(int p_notification) {
case NOTIFICATION_WM_ABOUT: { case NOTIFICATION_WM_ABOUT: {
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
if (is_editor_hint()) { if (Engine::get_singleton()->is_editor_hint()) {
EditorNode::get_singleton()->show_about(); EditorNode::get_singleton()->show_about();
} else { } else {
#endif #endif