Engine
Engine copied to clipboard
Bug: Music stays silent when snd_volume_music is set to 0 at map load, even if setting it above 0 afterwards.
Describe the bug
Anytime the player passes an area that would normally play music, if you have your music volume set to 0, even if you turn it up afterwards, the music will still stay silent for the remainder of the map until you reload or load into the next map.
I also suspect that this is part of a larger issue with how the engine handles audio in general, and it's probably not just music that does this, but it's how I discovered the issue.
To Reproduce
- Open any map with music volume set to 0 (either through UI or through snd_volume_music 0 in the console.)
- Pass through an area where music is set to play.
- Turn music volume up (either through UI or through snd_volume_music int he console.)
- Music will still be silent, even if the ambient_generic entity containing the music has been triggered to play.
Issue Map
Any map with music.
Expected Behavior
The music should start playing once you turn your music volume back up.
Operating System
No response