diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
commit | e7ff8a9d0cff724520c4fb7a13b77e93797759cf (patch) | |
tree | c9261f172eef20857010180d82cb30e51cd6e5e8 /game/menus/ButtonSetMainMenuScript.cpp | |
parent | 2c4091f845513cee2de4aac652f9720c74789327 (diff) |
saving coins avaiable in menu
Diffstat (limited to 'game/menus/ButtonSetMainMenuScript.cpp')
-rw-r--r-- | game/menus/ButtonSetMainMenuScript.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/game/menus/ButtonSetMainMenuScript.cpp b/game/menus/ButtonSetMainMenuScript.cpp index e9232b5..e967dfb 100644 --- a/game/menus/ButtonSetMainMenuScript.cpp +++ b/game/menus/ButtonSetMainMenuScript.cpp @@ -14,10 +14,6 @@ void ButtonSetMainMenuScript::init(){ bool ButtonSetMainMenuScript::on_button_press(const ButtonPressEvent& e){ RefVector<AudioSource> audios = this->get_components_by_name<AudioSource>("background_music"); - for (AudioSource & audio : audios) { - audio.stop(); - } - this->set_next_scene(MAINMENU_SCENE); return false; } |