From 7af93b7375ae6b63abeb320dbe9bd71492db2d24 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 31 May 2025 15:23:07 +0200 Subject: [PATCH] dont let dedi free votepatches lel --- src/y_inter.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/y_inter.c b/src/y_inter.c index cd495f8a9..041eeb6e0 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -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]);