From 677e381a2ca4f2681de6e3c11e242de50ab155e8 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 15 Sep 2025 16:16:31 +0200 Subject: [PATCH] dont send server icon if current map is supposed to be hidden in line with kart not sending maptitle to ms in the same case --- src/d_clisrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 92fd72981..e581a8dfb 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1760,7 +1760,7 @@ static void SV_SendMapIcon(INT32 node) doomdata_t *netbuffer = DOOMCOM_DATA(doomcom); const char *map = va("%sP", G_BuildMapName(gamemap)); - if (!W_LumpExists(map)) + if (!W_LumpExists(map) || (mapheaderinfo[gamemap-1]->menuflags & LF2_HIDEINMENU)) { // send an empty icon to tell the client there is no map icon netbuffer->packettype = PT_MAPICON;