Rémi Verschelde 8 лет назад
Родитель
Сommit
b3ff7ca62e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scene/main/scene_tree.cpp

+ 1 - 1
scene/main/scene_tree.cpp

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