mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix allowteamchange (although this code wasn't being run, it still SHOULD return early...)
This commit is contained in:
parent
7508e0e198
commit
4567d9c57f
1 changed files with 1 additions and 5 deletions
|
|
@ -3570,11 +3570,7 @@ boolean P_SpectatorJoinGame(player_t *player)
|
||||||
|
|
||||||
// Team changing isn't allowed.
|
// Team changing isn't allowed.
|
||||||
if (!cv_allowteamchange.value)
|
if (!cv_allowteamchange.value)
|
||||||
{
|
return false;
|
||||||
if (P_IsLocalPlayer(player))
|
|
||||||
CONS_Printf(M_GetText("Server does not allow team change.\n"));
|
|
||||||
//player->flashing = TICRATE + 1; //to prevent message spam.
|
|
||||||
}
|
|
||||||
|
|
||||||
// Team changing in Team Match and CTF
|
// Team changing in Team Match and CTF
|
||||||
// Pressing fire assigns you to a team that needs players if allowed.
|
// Pressing fire assigns you to a team that needs players if allowed.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue