dont let dedi free votepatches lel

This commit is contained in:
Alug committed 2025-05-31 15:23:07 +02:00
1 parent 428f759ed5
commit 7af93b7375
1 file changed
+5 -1
+5 -1
View File
@@ -845,7 +845,8 @@ void Y_StartIntermission(void)
//
void Y_EndIntermission(void)
{
Y_UnloadData();
if (!dedicated)
Y_UnloadData();
endtic = -1;
sorttic = -1;
@@ -1637,6 +1638,9 @@ static void Y_UnloadVoteData(void)
{
voteclient.loaded = false;
if (dedicated)
return;
UNLOAD(VoteScreen.widebgpatch);
UNLOAD(VoteScreen.bgpatch);
UNLOAD(VoteScreen.cursor[0]);