aboutsummaryrefslogtreecommitdiff
path: root/game/menus/endgame/EndGameSubScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-08 12:59:26 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-08 12:59:26 +0100
commitf6d1aa2fe104323b17ef3ed56e33651c67b3febe (patch)
tree8f097216fd166239eb71914e6b98ac0285171d5b /game/menus/endgame/EndGameSubScene.cpp
parentc9c9702edc58ff8f40b13dc6b86b216421f79e9b (diff)
added replay functionality
Diffstat (limited to 'game/menus/endgame/EndGameSubScene.cpp')
-rw-r--r--game/menus/endgame/EndGameSubScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/menus/endgame/EndGameSubScene.cpp b/game/menus/endgame/EndGameSubScene.cpp
index 3ef0f9a..a6f8b25 100644
--- a/game/menus/endgame/EndGameSubScene.cpp
+++ b/game/menus/endgame/EndGameSubScene.cpp
@@ -71,7 +71,7 @@ void EndGameSubScene::create(Scene & scn) {
.text = "REPLAY",
.text_width = 150,
.position = {-button_position.x, button_position.y},
- // .script_type = ButtonSubScene::ScriptSelect::MAINMENU,
+ .script_type = ButtonSubScene::ScriptSelect::REPLAY,
.button_type = ButtonSubScene::ButtonSelect::BACK,
.scale = 0.6,
.worldspace = false,