From 6a3063e6012bae44457b668ce48c48b8af90a95d Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sat, 28 Dec 2024 12:36:26 +0100 Subject: improved naming --- game/mainmenu/ButtonSubScene.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'game/mainmenu/ButtonSubScene.cpp') diff --git a/game/mainmenu/ButtonSubScene.cpp b/game/mainmenu/ButtonSubScene.cpp index d110aaa..b4abe21 100644 --- a/game/mainmenu/ButtonSubScene.cpp +++ b/game/mainmenu/ButtonSubScene.cpp @@ -1,6 +1,6 @@ #include "ButtonSubScene.h" -#include "SetShopScript.h" -#include "ShowPreviewScript.h" +#include "ButtonSetShopScript.h" +#include "ButtonTransitionPreviewScript.h" #include "MainMenuConfig.h" #include @@ -51,10 +51,10 @@ void ButtonSubScene::btn_text_middle(crepe::GameObject & button_object,const std void ButtonSubScene::set_script(crepe::GameObject & button_object,ScriptSelect script){ switch (script) { case ScriptSelect::PREVIEW: - button_object.add_component().set_script(); + button_object.add_component().set_script(); break; case ScriptSelect::SHOP: - button_object.add_component().set_script(); + button_object.add_component().set_script(); case ScriptSelect::NONE: break; } -- cgit v1.2.3