aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/GameSessionMenu.gd
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-12-26 00:00:02 +0100
committer GitHub <noreply@github.com>2023-12-26 00:00:02 +0100
commitd114ecaa5a54f1e8e20828561a3cd26a09dc10a3 (patch)
treea59c5b960a706a383b8ebd1dbcfb704067a5b51b /game/src/Game/GameSession/GameSessionMenu.gd
parentd26c990d9a5596a3ef3b32ba1cb0f99950cd6d34 (diff)
parent4e9764ee29fb7b453862835d5aa3a081b0f9a269 (diff)
Merge pull request #179 from OpenVicProject/ui-work
GUIOverlappingElementsBox + GUINode improvements
Diffstat (limited to 'game/src/Game/GameSession/GameSessionMenu.gd')
-rw-r--r--game/src/Game/GameSession/GameSessionMenu.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/src/Game/GameSession/GameSessionMenu.gd b/game/src/Game/GameSession/GameSessionMenu.gd
index 23ef2ef..7db0572 100644
--- a/game/src/Game/GameSession/GameSessionMenu.gd
+++ b/game/src/Game/GameSession/GameSessionMenu.gd
@@ -63,7 +63,7 @@ func _on_quit_confirmed() -> void:
func _on_options_button_pressed() -> void:
options_button_pressed.emit()
-func _on_main_menu_dialog_custom_action(action) -> void:
+func _on_main_menu_dialog_custom_action(action : StringName) -> void:
match action:
&"save_and_main_menu":
_on_main_menu_confirmed()
@@ -73,8 +73,8 @@ func _on_quit_dialog_custom_action(action : StringName) -> void:
&"save_and_quit":
_on_quit_confirmed()
-func _on_save_button_pressed():
+func _on_save_button_pressed() -> void:
save_button_pressed.emit()
-func _on_load_button_pressed():
+func _on_load_button_pressed() -> void:
load_button_pressed.emit()