Fixed compiler errors

This commit is contained in:
EvilFactory
2025-04-10 10:55:39 -03:00
parent 103871a4e9
commit 546450712d
4 changed files with 4 additions and 17 deletions
@@ -709,17 +709,6 @@ namespace Barotrauma
}
}
bool muteBackgroundMusic = false;
for (int i = 0; i < SoundManager.SourceCount; i++)
{
SoundChannel playingSoundChannel = GameMain.SoundManager.GetSoundChannelFromIndex(SoundManager.SourcePoolIndex.Default, i);
if (playingSoundChannel is { MuteBackgroundMusic: true, IsPlaying: true })
{
muteBackgroundMusic = true;
break;
}
}
int activeTrackCount = targetMusic.Count(m => m != null);
for (int i = 0; i < MaxMusicChannels; i++)
{