diff --git a/Scripts/Main.gd b/Scripts/Main.gd index 26fd54027..9d7b2d0ec 100644 --- a/Scripts/Main.gd +++ b/Scripts/Main.gd @@ -172,12 +172,12 @@ func _ready() -> void: if not Global.config_cache.has_section_key("preferences", "startup"): Global.config_cache.set_value("preferences", "startup", true) - if not Global.config_cache.get_value("preferences", "startup"): - $SplashDialog.hide() - - # Wait for the window to adjust itself, so the popup is correctly centered - yield(get_tree().create_timer(0.01), "timeout") - $SplashDialog.popup_centered() # Splash screen + if Global.config_cache.get_value("preferences", "startup"): + # Wait for the window to adjust itself, so the popup is correctly centered + yield(get_tree().create_timer(0.01), "timeout") + $SplashDialog.popup_centered() # Splash screen + else: + Global.can_draw = true func _input(event : InputEvent) -> void: Global.left_cursor.position = get_global_mouse_position() + Vector2(-32, 32)