diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:03:34 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:03:34 +0100 |
commit | 14d2398b776d7be3c404af5f4e983b435efaf1d1 (patch) | |
tree | 76a4d0b73a0e179dca61ca0f95544edcd017f2d1 /game/menus/ButtonSubScene.cpp | |
parent | 38c88e394414556a464b07e091b4b7fc8fd27b1d (diff) |
`make format`jaro/game
Diffstat (limited to 'game/menus/ButtonSubScene.cpp')
-rw-r--r-- | game/menus/ButtonSubScene.cpp | 7 |
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>() |