Battle: fix Overtime 1v1 sound playing when last player is eliminated

- It should only play when a 3rd player dies, and leaves
  2 remaining
This commit is contained in:
James R 2024-01-12 17:42:23 -08:00
parent eb8741b481
commit 92acc80975

View file

@ -150,7 +150,7 @@ void K_CheckBumpers(void)
}
}
if (numingame - eliminated <= 2 && battleovertime.enabled && battleovertime.radius <= BARRIER_MIN_RADIUS)
if (numingame - eliminated == 2 && battleovertime.enabled && battleovertime.radius <= BARRIER_MIN_RADIUS)
{
Music_Stop("battle_overtime");
S_StartSound(NULL, sfx_kc4b); // Loud noise helps mask transition