aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/ButtonSubScene.cpp')
-rw-r--r--game/menus/ButtonSubScene.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/game/menus/ButtonSubScene.cpp b/game/menus/ButtonSubScene.cpp
index d657be9..30646f1 100644
--- a/game/menus/ButtonSubScene.cpp
+++ b/game/menus/ButtonSubScene.cpp
@@ -62,12 +62,11 @@ void ButtonSubScene::set_script(crepe::GameObject & button_object, const Data &
.set_script<ButtonNextMainMenuSubScript>();
break;
case ScriptSelect::REPLAY:
- button_object.add_component<BehaviorScript>()
- .set_script<ButtonReplaySubScript>();
+ button_object.add_component<BehaviorScript>().set_script<ButtonReplaySubScript>();
break;
case ScriptSelect::CREDITS_BACK:
- button_object.add_component<BehaviorScript>()
- .set_script<CreditsSubScript>(data.tag);
+ button_object.add_component<BehaviorScript>().set_script<CreditsSubScript>(data.tag
+ );
break;
case ScriptSelect::CREDITS_SHOW:
button_object.add_component<BehaviorScript>()