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.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/game/menus/mainmenu/MainMenuScene.cpp b/game/menus/mainmenu/MainMenuScene.cpp
index fcbd43f..a515b45 100644
--- a/game/menus/mainmenu/MainMenuScene.cpp
+++ b/game/menus/mainmenu/MainMenuScene.cpp
@@ -10,6 +10,8 @@
#include "../../background/HallwaySubScene.h"
#include "../../Config.h"
+#include "../endgame/EndGameSubScene.h"
+
#include <crepe/api/BehaviorScript.h>
#include <crepe/api/GameObject.h>
#include <crepe/api/Sprite.h>
@@ -97,6 +99,9 @@ void MainMenuScene::load_scene(){
.tag = MENU_INFO_TAG,
});
+ EndGameSubScene test;
+ test.create(*this);
+
}
-string MainMenuScene::get_name() const { return "mainmenu"; }
+string MainMenuScene::get_name() const { return MAINMENU_SCENE; }