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

Fix dedicated servers not ending the vote

See merge request KartKrew/Kart-Public!121
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);