diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:17:38 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:17:38 +0100 |
commit | 52c838538d2271134a2c5a128074ea9c2ed1d4a3 (patch) | |
tree | fd85a4193f88ec48c77d6fbfd90e909ac3a5855c /game/menus/ButtonNextMainMenuSubScript.cpp | |
parent | 15a958a7f327bb2e81e7d445f1499ec78c7f5839 (diff) | |
parent | bb2db93bfb8dd7e080d2708548eae660e6b33913 (diff) |
Merge branch 'master' into niels/game
Diffstat (limited to 'game/menus/ButtonNextMainMenuSubScript.cpp')
-rw-r--r-- | game/menus/ButtonNextMainMenuSubScript.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/game/menus/ButtonNextMainMenuSubScript.cpp b/game/menus/ButtonNextMainMenuSubScript.cpp index e03a34a..631b4d3 100644 --- a/game/menus/ButtonNextMainMenuSubScript.cpp +++ b/game/menus/ButtonNextMainMenuSubScript.cpp @@ -1,4 +1,5 @@ #include "ButtonNextMainMenuSubScript.h" +#include "ButtonReplaySubScript.h" #include "MenusConfig.h" #include "ValueBroker.h" @@ -26,7 +27,8 @@ bool ButtonNextMainMenuSubScript::on_button_press(const ButtonPressEvent & e) { for (AudioSource & audio : audios) { audio.stop(); } - + + this->trigger_event<DeleteRecordingEvent>(); SaveManager & savemgr = this->get_save_manager(); ValueBroker<int> coins = savemgr.get<int>(TOTAL_COINS_RUN, 0); |