aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ButtonSubScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:15:39 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:15:39 +0100
commitdeb1cd4732fb3a880cd10ce677e62fc2aac974a0 (patch)
tree28f02f1f4d88687688e9670c85f409c90bfc041d /game/mainmenu/ButtonSubScene.cpp
parentf91eff6285f651f5c3e310927026f419e67657ab (diff)
interface scripts added
Diffstat (limited to 'game/mainmenu/ButtonSubScene.cpp')
-rw-r--r--game/mainmenu/ButtonSubScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/mainmenu/ButtonSubScene.cpp b/game/mainmenu/ButtonSubScene.cpp
index b415f74..d110aaa 100644
--- a/game/mainmenu/ButtonSubScene.cpp
+++ b/game/mainmenu/ButtonSubScene.cpp
@@ -1,7 +1,6 @@
#include "ButtonSubScene.h"
-#include "ButtonScript.h"
+#include "SetShopScript.h"
#include "ShowPreviewScript.h"
-#include "ShowStartScript.h"
#include "MainMenuConfig.h"
#include <crepe/api/BehaviorScript.h>
@@ -55,6 +54,7 @@ void ButtonSubScene::set_script(crepe::GameObject & button_object,ScriptSelect s
button_object.add_component<BehaviorScript>().set_script<ShowPreviewScript>();
break;
case ScriptSelect::SHOP:
+ button_object.add_component<BehaviorScript>().set_script<SetShopScript>();
case ScriptSelect::NONE:
break;
}