From c2492c48e1102278997f47ebd5380f4d7442c14f Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 20 Oct 2010 06:55:50 +0000 Subject: * (bug 4763) Prevent team join spam again --- src/game/g_team.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/g_team.c b/src/game/g_team.c index 2cd03737..0852882d 100644 --- a/src/game/g_team.c +++ b/src/game/g_team.c @@ -218,6 +218,7 @@ void G_ChangeTeam( gentity_t *ent, team_t newTeam ) return; G_LeaveTeam( ent ); + ent->client->pers.teamChangeTime = level.time; ent->client->pers.teamSelection = newTeam; ent->client->pers.classSelection = PCL_NONE; ClientSpawn( ent, NULL, NULL, NULL ); -- cgit