aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu/MainMenu.gd
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-02-27 13:09:41 +0100
committer GitHub <noreply@github.com>2023-02-27 13:09:41 +0100
commite637c3afe2854488d1c2e755e0272f431105c404 (patch)
tree14d5cd52e699d5ebe8602dc3243b71689eec19c5 /game/src/MainMenu/MainMenu.gd
parent93c6b207c11fdaba484410eb53fc11b35fbbb3bd (diff)
Add Main Menu Version and Checksum Labels (#44)
Diffstat (limited to 'game/src/MainMenu/MainMenu.gd')
-rw-r--r--game/src/MainMenu/MainMenu.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/game/src/MainMenu/MainMenu.gd b/game/src/MainMenu/MainMenu.gd
index cd333a3..0a551e0 100644
--- a/game/src/MainMenu/MainMenu.gd
+++ b/game/src/MainMenu/MainMenu.gd
@@ -5,9 +5,15 @@ signal options_button_pressed
@export
var _new_game_button : BaseButton
+@export
+var _checksum_label : Label
+
func _ready():
print("From GDScript")
TestSingleton.hello_singleton()
+ # UI-111
+ _checksum_label.tooltip_text = "Checksum " + Checksum.get_checksum_text()
+ _checksum_label.text = "(" + Checksum.get_checksum_text().substr(0, 4) + ")"
_new_game_button.grab_focus()