garrysmod-issues
garrysmod-issues copied to clipboard
game.CleanUpMap() also kills all BASS streams
What happens: game.CleanUpMap() kills all BASS streams no matter how they were created
Why is this wrong: some BASS streams are supposed to continue over map cleanups (eg. UI music players)
The easiest fix I can think of right now is only removing sounds that were created with the '3d' flag. Alternative would be to add a new flag to indicate that the sound should be kept over cleanups.
Or refresh your players on PostCleanupMap
That's a workaround and not particularly good one either. I'd like to see this fixed before everyone has been forced to use a workaround, which the fix would then probably break.
This is by design. Adding a flag to stop this is probably the only option.