From 0ead900c96f1f40028d53b0e4b9c2d93312a6621 Mon Sep 17 00:00:00 2001 From: ClarkeCode Date: Mon, 17 Apr 2023 22:25:09 -0400 Subject: Double-click a start date to automatically start a game session --- game/src/LobbyMenu/LobbyMenu.gd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'game/src/LobbyMenu/LobbyMenu.gd') diff --git a/game/src/LobbyMenu/LobbyMenu.gd b/game/src/LobbyMenu/LobbyMenu.gd index 802dac3..4fc06c9 100644 --- a/game/src/LobbyMenu/LobbyMenu.gd +++ b/game/src/LobbyMenu/LobbyMenu.gd @@ -34,3 +34,8 @@ func _on_game_select_list_item_selected(index): func _on_save_game_selected(_index): start_button.disabled = false + +# If the date is double-clicked, start the game! +func _on_game_select_list_item_activated(index): + _on_game_select_list_item_selected(index) + _on_start_button_button_down() -- cgit v1.2.3-56-ga3b1