aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/MainMenuScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/MainMenuScene.cpp')
-rw-r--r--game/mainmenu/MainMenuScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/mainmenu/MainMenuScene.cpp b/game/mainmenu/MainMenuScene.cpp
index 42d0eca..8ffea70 100644
--- a/game/mainmenu/MainMenuScene.cpp
+++ b/game/mainmenu/MainMenuScene.cpp
@@ -1,7 +1,7 @@
#include "MainMenuScene.h"
#include "ButtonSubScene.h"
-#include "ShowStartScript.h"
+#include "TransitionStartScript.h"
#include "api/BehaviorScript.h"
#include "api/Camera.h"
#include "../StartSubScene.h"
@@ -27,7 +27,7 @@ void MainMenuScene::load_scene(){
.sorting_in_layer = MainMenuConfig::STARTING_SORTING_IN_LAYER+0,
.size = {300,860},
});
- menu.add_component<BehaviorScript>().set_script<ShowStartScript>();
+ menu.add_component<BehaviorScript>().set_script<TransitionStartScript>();
ButtonSubScene button;
vec2 pos = MainMenuConfig::MENU_OFFSET;