shattered-pixel-dungeon
shattered-pixel-dungeon copied to clipboard
game does not respect "Play Music in Background" when changing scenes in background
Description
With the following conditions, the game does not respect an unset "Play Music in Background" option. Instead it continues to play music even when the game window is unfocused.
System info
Official release: Yes Game version: 2.3.2 Game build: MacOS native executable Operating system: MacOS Sonoma 14.4
Steps to reproduce
- Unset/disable the "Play Music in Background" option from the game settings.
- Start/load a game.
- Switch focus away from the game window (e.g. Alt-Tab) during the "Loading..."/"Descending..." screen.
- The game now plays sounds on the background regardless of the unset option.
Expected behavior
The game should respect the unset "Play Music in Background" setting and be quiet as normal.