Load save on game load

This commit is contained in:
TheThomaas 2026-10-05 16:40:24 +02:00
parent 671342d2d5
commit 2f0354931f

View file

@ -52,6 +52,7 @@ func fade_in_game_infos() -> void:
tween.tween_property(game_infos, "modulate:a", 1.0, 1.0) tween.tween_property(game_infos, "modulate:a", 1.0, 1.0)
func _on_start_pressed() -> void: func _on_start_pressed() -> void:
GameData.load_data()
if is_transitioning: return if is_transitioning: return
is_transitioning = true is_transitioning = true
play_click_sound() play_click_sound()