aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameMenu.gd
diff options
context:
space:
mode:
author Brendan Griffiths <96725360+Orwellian-225@users.noreply.github.com>2023-03-01 17:00:24 +0100
committer GitHub <noreply@github.com>2023-03-01 17:00:24 +0100
commit4e099cf1d3f5fa37e9aa520d90aaf505fee3ce23 (patch)
tree5355285405336b55eeab21ca5ecc24c8e9ecf1d8 /game/src/GameMenu.gd
parent2062aaf394ee6581161add4bcb23076475e236ac (diff)
add: credits.csv - req: FS4 (#16)
Requirements met by this PR: SS-17 SS-29 [1] UI-32 UI-34 UIFUN-36 UI-35 UI-38 UIFUN-37 FS-4
Diffstat (limited to 'game/src/GameMenu.gd')
-rw-r--r--game/src/GameMenu.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/src/GameMenu.gd b/game/src/GameMenu.gd
index b899fc8..6856e0f 100644
--- a/game/src/GameMenu.gd
+++ b/game/src/GameMenu.gd
@@ -25,3 +25,13 @@ func _on_lobby_menu_back_button_pressed():
$MainMenu.show()
$LobbyMenu.hide()
$OptionsMenu.toggle_locale_button_visibility(true)
+
+
+func _on_credits_back_button_pressed():
+ $Credits.hide()
+ $MainMenu.show()
+
+
+func _on_main_menu_credits_button_pressed():
+ $Credits.show()
+ $MainMenu.hide()