Fix allowteamchange (although this code wasn't being run, it still SHOULD return early...)

This commit is contained in:
toaster 2022-02-11 00:35:11 +00:00
parent 7508e0e198
commit 4567d9c57f

View file

@ -3570,11 +3570,7 @@ boolean P_SpectatorJoinGame(player_t *player)
// Team changing isn't allowed.
if (!cv_allowteamchange.value)
{
if (P_IsLocalPlayer(player))
CONS_Printf(M_GetText("Server does not allow team change.\n"));
//player->flashing = TICRATE + 1; //to prevent message spam.
}
return false;
// Team changing in Team Match and CTF
// Pressing fire assigns you to a team that needs players if allowed.