aboutsummaryrefslogtreecommitdiff
path: root/game/menus/endgame
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/endgame')
-rw-r--r--game/menus/endgame/EndGameSubScene.cpp2
-rw-r--r--game/menus/endgame/EndGameSubScript.cpp1
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..08a9f8c 100644
--- a/game/menus/endgame/EndGameSubScript.cpp
+++ b/game/menus/endgame/EndGameSubScript.cpp
@@ -2,6 +2,7 @@
#include "../../Events.h"
#include "../IFloatingWindowScript.h"
+#include "../ButtonReplaySubScript.h"
#include <string>