Be silent when "kicking" a disconnected player

This lets the host manually remove a body if they want,
without polluting the chat with redundant messages.
This commit is contained in:
Louis-Antoine 2020-01-24 19:56:57 +01:00
parent ba127008cf
commit 8bd897a269

View file

@ -2918,7 +2918,8 @@ static void Got_KickCmd(UINT8 **p, INT32 playernum)
switch (msg)
{
case KICK_MSG_GO_AWAY:
HU_AddChatText(va("\x82*%s has been kicked (Go away)", player_names[pnum]), false);
if (!players[pnum].quittime)
HU_AddChatText(va("\x82*%s has been kicked (Go away)", player_names[pnum]), false);
kickreason = KR_KICK;
break;
case KICK_MSG_PING_HIGH: