Simplified startMusic call.
This commit is contained in:
parent
ec598d6f41
commit
7d0875878b
@ -156,7 +156,7 @@ void OptionsScreenAudio::eventCallback(Widget* widget, const std::string& name,
|
|||||||
if(w->getState() == false)
|
if(w->getState() == false)
|
||||||
music_manager->stopMusic();
|
music_manager->stopMusic();
|
||||||
else
|
else
|
||||||
music_manager->startMusic(music_manager->getCurrentMusic(), true);
|
music_manager->startMusic();
|
||||||
}
|
}
|
||||||
else if(name == "sfx_enabled")
|
else if(name == "sfx_enabled")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user