Revert "Don't play music config if music is disabled"
This reverts commit a3448e9908
.
This was the incorrect fix and caused the wrong music to play if it was enabled after entering a scenario.
This commit is contained in:
parent
a3448e9908
commit
7e67b7bba0
1 changed files with 0 additions and 4 deletions
|
@ -597,10 +597,6 @@ void play_music_repeatedly(const std::string &id)
|
|||
|
||||
void play_music_config(const config &music_node, int i)
|
||||
{
|
||||
if(!preferences::music_on()) {
|
||||
return;
|
||||
}
|
||||
|
||||
music_track track( music_node );
|
||||
|
||||
if (!track.valid() && !track.id().empty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue