aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/MainMenuScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/mainmenu/MainMenuScene.cpp')
-rw-r--r--game/menus/mainmenu/MainMenuScene.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/game/menus/mainmenu/MainMenuScene.cpp b/game/menus/mainmenu/MainMenuScene.cpp
index 743fe43..fba90ac 100644
--- a/game/menus/mainmenu/MainMenuScene.cpp
+++ b/game/menus/mainmenu/MainMenuScene.cpp
@@ -1,5 +1,6 @@
#include "MainMenuScene.h"
+#include "CreditsSubScene.h"
#include "MainMenuConfig.h"
#include "TransitionStartSubScript.h"
@@ -81,7 +82,7 @@ void MainMenuScene::load_scene() {
.text_offset = {0, 0},
.text_width = 200,
.position = pos_btn,
- //.script_type = ButtonSubScene::ScriptSelect::SHOP,
+ .script_type = ButtonSubScene::ScriptSelect::CREDITS_SHOW,
}
);
@@ -123,6 +124,9 @@ void MainMenuScene::load_scene() {
.tag = MENU_INFO_TAG,
}
);
+
+ CreditsSubScene creditscene;
+ creditscene.create(*this);
}
string MainMenuScene::get_name() const { return MAINMENU_SCENE; }