summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--level_main_menu.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/level_main_menu.gd b/level_main_menu.gd
index 2ee46bd..2420fc8 100644
--- a/level_main_menu.gd
+++ b/level_main_menu.gd
@@ -5,6 +5,7 @@ extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
+ $TestLevelButton.grab_focus.call_deferred()
$TestLevelButton.pressed.connect(_test_level_button_pressed)
# Called every frame. 'delta' is the elapsed time since the previous frame.