Added hash salt, added game data saving

This commit is contained in:
gotfishmakesticks 2023-11-11 17:50:14 +03:00
commit 11ea0f0d51
7 changed files with 43 additions and 51 deletions

View file

@ -8,4 +8,5 @@ func _on_unpause_button_button_up():
func _on_exit_button_button_up():
get_tree().current_scene.unpause()
Game.profile_save(get_tree().current_scene)
get_tree().change_scene_to_file("res://scenes/MainMenu.tscn")

View file

@ -1,6 +1,6 @@
extends Label
func _ready():
text = "GammaCosmicRays Version {version}"
text = "GammaCosmicRays version {version}".format({"version" : Game.gameversion})
if OS.has_feature("editor"):
text += " uncompiled\nThis is a debug/prerelease version."