From 4567d9c57f0032bfa6f5badba1ea65246461ca0d Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 11 Feb 2022 00:35:11 +0000 Subject: [PATCH] Fix allowteamchange (although this code wasn't being run, it still SHOULD return early...) --- src/p_user.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index f8eb8ad38..d78cfe84b 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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.