You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Add missing NULL check for the new show_about() call
This commit is contained in:
@@ -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 (Engine::get_singleton()->is_editor_hint()) {
|
if (EditorNode::get_singleton()) {
|
||||||
EditorNode::get_singleton()->show_about();
|
EditorNode::get_singleton()->show_about();
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user