Fix issues with audio system again

+ Fixed multiple bugs with syncing music and playing it.
This commit is contained in:
2025-08-24 14:06:58 -04:00
parent 441797c09c
commit aece767ef7

View File

@@ -79,6 +79,7 @@ enum struct AUDIOMANAGER {
**/
void ChangeBGM(int bgm, bool instant) {
this.indexBGM = this.VIPBGM > 0 ? this.VIPBGM : bgm == 0 ? g_indexBGM : bgm;
<<<<<<< Updated upstream
PrintToChatAll("%i = %i >=0 ? %i : %i == 0 ? %i : %i", this.indexBGM, this.VIPBGM, this.VIPBGM, bgm, g_indexBGM, bgm);
if (instant) { this.timeSeconds = GetEngineTime() - this.loopSeconds; }
=======