0
0
Fork 0
mirror of https://git.do.srb2.org/KartKrew/Kart-Public.git synced 2025-04-27 12:30:44 +00:00

Fix for "became a spectator" text repeating

This commit is contained in:
TehRealSalt 2018-11-02 14:59:26 -04:00
parent 8d5fb13111
commit ba67c7aa70

View file

@ -3317,8 +3317,8 @@ static void Got_Teamchange(UINT8 **cp, INT32 playernum)
else
CONS_Printf(M_GetText("%s switched to the %c%s%c.\n"), player_names[playernum], '\x84', M_GetText("Blue Team"), '\x80');
}
else
HU_AddChatText(va("\x82*%s became a spectator.", player_names[playernum]), false);
else if (NetPacket.packet.newteam == 0)
HU_AddChatText(va("\x82*%s became a spectator.", player_names[playernum]), false); // "entered the game" text was moved to P_SpectatorJoinGame
//reset view if you are changed, or viewing someone who was changed.
if (playernum == consoleplayer || displayplayer == playernum)