Skip to content

Commit

Permalink
Ignore music playing state when game is paused
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmoro93 committed Apr 3, 2024
1 parent 93df69d commit aa312db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenLoco/src/Audio/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ namespace OpenLoco::Audio
void playBackgroundMusic()
{
auto& cfg = Config::get().old;
if (cfg.musicPlaying == 0 || isTitleMode() || isEditorMode())
if (cfg.musicPlaying == 0 || isTitleMode() || isEditorMode() || isPaused())
{
return;
}
Expand Down

0 comments on commit aa312db

Please sign in to comment.