diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 15:33:41 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 15:33:41 +0100 |
commit | ce83df284173cfb4f6e430bf3ed8080ea21204d7 (patch) | |
tree | cb30e6bd44b4cf61ee696b55b46f7b817bf4157a /game/menus/endgame | |
parent | 698628cf1fb1b8a1f68bf6a5672d984bd64be58f (diff) | |
parent | 26fe39ef4e633206a9b202d431c969c66052d2ef (diff) |
Merge branch 'master' into niels/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> |