From a132db9e6ea030adcbc2ef8c2e6d469cf4fa16dd Mon Sep 17 00:00:00 2001 From: Indev Date: Sun, 19 Jul 2026 23:41:19 +0300 Subject: [PATCH] Attempt to fix server locking up when trying to kick player that has left already --- 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 1401d3bf0..0491b2c3f 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -4003,7 +4003,7 @@ static void Got_KickCmd(const UINT8 **p, INT32 playernum) } // without this the server will remove itself and thus self destruct on dedicated - if (server && (playernode[pnum] == UINT8_MAX || !nodeingame[playernode[pnum]])) + if (server && !playeringame[pnum]) { CONS_Alert(CONS_WARNING, M_GetText("Attempting to kick player %d which is not in game received from %s\n"), pnum, player_names[playernum]); return;