aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSubScene.cpp
diff options
context:
space:
mode:
authorheavydemon21 <48092678+heavydemon21@users.noreply.github.com>2025-01-10 14:44:59 +0100
committerGitHub <noreply@github.com>2025-01-10 14:44:59 +0100
commit798237b661e8e49284e78ffb1a16599cf6a46a6d (patch)
tree8f4881cf4abc58774625383620cf82fa55b9d1f0 /game/menus/ButtonSubScene.cpp
parentbb2db93bfb8dd7e080d2708548eae660e6b33913 (diff)
parentd1cebcca2018ed4ef47ad125e45aafd018a2ab2e (diff)
Merge pull request #125 from lonkaars/niels/game
missile alerts
Diffstat (limited to 'game/menus/ButtonSubScene.cpp')
-rw-r--r--game/menus/ButtonSubScene.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/game/menus/ButtonSubScene.cpp b/game/menus/ButtonSubScene.cpp
index baf154c..1fe6b03 100644
--- a/game/menus/ButtonSubScene.cpp
+++ b/game/menus/ButtonSubScene.cpp
@@ -79,23 +79,22 @@ void ButtonSubScene::set_script(crepe::GameObject & button_object, const Data &
.set_script<ButtonShowCreditsSubScript>();
break;
case ScriptSelect::PREVIEW_REPLAY:
- button_object.add_component<BehaviorScript>()
- .set_script<PreviewReplaySubScript>();
+ button_object.add_component<BehaviorScript>().set_script<PreviewReplaySubScript>();
break;
case ScriptSelect::PREVIEW_START:
- button_object.add_component<BehaviorScript>()
- .set_script<PreviewStartRecSubScript>();
+ button_object.add_component<BehaviorScript>().set_script<PreviewStartRecSubScript>(
+ );
break;
case ScriptSelect::PREVIEW_STOP:
- button_object.add_component<BehaviorScript>()
- .set_script<PreviewStopRecSubScript>();
+ button_object.add_component<BehaviorScript>().set_script<PreviewStopRecSubScript>(
+ );
break;
case ScriptSelect::SHOP_BULLET:
- button_object.add_component<BehaviorScript>()
+ button_object.add_component<BehaviorScript>()
.set_script<ButtonBuySelectBulletScript>();
break;
case ScriptSelect::SHOP_BUBBLE:
- button_object.add_component<BehaviorScript>()
+ button_object.add_component<BehaviorScript>()
.set_script<ButtonBuySelectBubbleScript>();
break;
case ScriptSelect::NONE: