mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 04:51:43 +00:00
Vote: fix sounds stacking when restarting vote screen
This commit is contained in:
parent
87bd18b509
commit
62195e3165
1 changed files with 4 additions and 0 deletions
|
|
@ -1731,6 +1731,10 @@ void Y_StartVote(void)
|
|||
memset(&vote, 0, sizeof(vote));
|
||||
memset(&vote_draw, 0, sizeof(vote_draw));
|
||||
|
||||
// Restarting vote from the menu: stop any long sounds
|
||||
// that were playing (kc37).
|
||||
S_StopSounds();
|
||||
|
||||
vote.tic = vote.endtic = -1;
|
||||
|
||||
#ifdef VOTE_TIME_WAIT_FOR_VOTE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue