mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'no-postrace-sting-sound' into 'master'
Don't play local Ring Sting sound postrace See merge request KartKrew/Kart!2056
This commit is contained in:
commit
f9b88432eb
1 changed files with 1 additions and 1 deletions
|
|
@ -4823,7 +4823,7 @@ void K_DebtStingPlayer(player_t *player, mobj_t *source)
|
|||
player->ringvisualwarning = TICRATE*2;
|
||||
player->stingfx = true;
|
||||
|
||||
if (P_IsDisplayPlayer(player))
|
||||
if (P_IsDisplayPlayer(player) && !player->exiting)
|
||||
S_StartSoundAtVolume(NULL, sfx_sting0, 200);
|
||||
|
||||
P_SetPlayerMobjState(player->mo, S_KART_SPINOUT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue