Okay, I checked out the thing, and the bug comes from another reason: probably because the "delayed music play" feature from the world map, caused an unexpected behavior at the level because you had to hold the "jump" button and entered level immediately. Will try some on my end...
Added after 1 hour 14 minutes:Fixed just now:
https://github.com/Wohlstand/TheXTech/commit/a39792e062c5b86d9cb9a51a97bc371186330eadAfter ~20 minutes, you may try to download the latest dev version of the game and try the fix in action:
https://github.com/Wohlstand/TheXTech/wiki/Fresh-devel-buildsPlease confirm, was it solved or not.
Again, how to reproduce this bug: when a player dies (no matter reason and no matter the state), hold the JUMP button and wait when the level enters again. The reason for the bug that the wrong music source gets resumed was because the level got entered too quick. I added the explicit reset of the saved music request to avoid this issue, and on my end, it has gone.