aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSetMainMenuScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/ButtonSetMainMenuScript.cpp')
-rw-r--r--game/menus/ButtonSetMainMenuScript.cpp4
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;
}