summaryrefslogtreecommitdiffstats
path: root/room_main_menu.gd
diff options
context:
space:
mode:
Diffstat (limited to 'room_main_menu.gd')
-rw-r--r--room_main_menu.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/room_main_menu.gd b/room_main_menu.gd
index 977b24b..f9ec9d1 100644
--- a/room_main_menu.gd
+++ b/room_main_menu.gd
@@ -3,8 +3,8 @@ extends Node2D
func _ready() -> void:
$PlayButton.grab_focus.call_deferred()
- $PlayButton.pressed.connect(_play_button_pressed)
+ $PlayButton.connect("pressed", _on_play_button_pressed)
-func _play_button_pressed():
+func _on_play_button_pressed() -> void:
var top: Top = get_tree().root.get_node("Top")
top.game_load()