0
0
Fork 0
mirror of https://git.do.srb2.org/KartKrew/Kart-Public.git synced 2025-01-22 17:22:00 +00:00

Merge branch 'dedicated-end-vote-fix' into 'master'

Fix dedicated servers not ending the vote

See merge request 
This commit is contained in:
Sal 2019-04-11 12:20:08 -04:00
commit 5079dbbc3b

View file

@ -1505,11 +1505,11 @@ void Y_EndVote(void)
// //
static void Y_UnloadVoteData(void) static void Y_UnloadVoteData(void)
{ {
voteclient.loaded = false;
if (rendermode != render_soft) if (rendermode != render_soft)
return; return;
voteclient.loaded = false;
UNLOAD(widebgpatch); UNLOAD(widebgpatch);
UNLOAD(bgpatch); UNLOAD(bgpatch);
UNLOAD(cursor); UNLOAD(cursor);