Merge branch 'dont-celebrate-death' into 'master'

Don't play TA jingles for failed SPB Attack

See merge request KartKrew/Kart!2054
This commit is contained in:
AJ Martinez 2024-03-09 06:03:13 +00:00
commit 1ffb45ab7c

View file

@ -712,7 +712,7 @@ void P_EndingMusic(void)
jingle = "_win";
}
if (modeattacking)
if (modeattacking && !K_IsPlayerLosing(bestPlayer))
{
if (players[consoleplayer].realtime < oldbest && oldbest != (tic_t)UINT32_MAX)
jingle = "newrec";