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;