mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Don't play local Ring Sting sound postrace
This commit is contained in:
parent
40bc2250f3
commit
c969e88605
1 changed files with 1 additions and 1 deletions
|
|
@ -4822,7 +4822,7 @@ void K_DebtStingPlayer(player_t *player, mobj_t *source)
|
||||||
player->ringvisualwarning = TICRATE*2;
|
player->ringvisualwarning = TICRATE*2;
|
||||||
player->stingfx = true;
|
player->stingfx = true;
|
||||||
|
|
||||||
if (P_IsDisplayPlayer(player))
|
if (P_IsDisplayPlayer(player) && !player->exiting)
|
||||||
S_StartSoundAtVolume(NULL, sfx_sting0, 200);
|
S_StartSoundAtVolume(NULL, sfx_sting0, 200);
|
||||||
|
|
||||||
P_SetPlayerMobjState(player->mo, S_KART_SPINOUT);
|
P_SetPlayerMobjState(player->mo, S_KART_SPINOUT);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue