diff options
author | heavydemon21 <48092678+heavydemon21@users.noreply.github.com> | 2025-01-08 15:29:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 15:29:11 +0100 |
commit | 26fe39ef4e633206a9b202d431c969c66052d2ef (patch) | |
tree | b69eb6438434c65ce121ca609956364b0c793345 /game/menus/endgame | |
parent | 52dab49823377e9ffaf7b583edc102b559e7382a (diff) | |
parent | 14d2398b776d7be3c404af5f4e983b435efaf1d1 (diff) |
Merge pull request #113 from lonkaars/jaro/game
Jaro/game
Diffstat (limited to 'game/menus/endgame')
-rw-r--r-- | game/menus/endgame/EndGameSubScene.cpp | 2 | ||||
-rw-r--r-- | game/menus/endgame/EndGameSubScript.cpp | 1 |
2 files changed, 2 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, diff --git a/game/menus/endgame/EndGameSubScript.cpp b/game/menus/endgame/EndGameSubScript.cpp index f120e2d..6edfe7b 100644 --- a/game/menus/endgame/EndGameSubScript.cpp +++ b/game/menus/endgame/EndGameSubScript.cpp @@ -1,6 +1,7 @@ #include "EndGameSubScript.h" #include "../../Events.h" +#include "../ButtonReplaySubScript.h" #include "../IFloatingWindowScript.h" #include <string> |