diff options
Diffstat (limited to 'game/mainmenu/ButtonSubScene.cpp')
-rw-r--r-- | game/mainmenu/ButtonSubScene.cpp | 4 |
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; } |