diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-10-20 06:55:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:42 +0000 |
commit | c2492c48e1102278997f47ebd5380f4d7442c14f (patch) | |
tree | 7a423172cda623118cbb2ebbcabf134fec761959 /src | |
parent | 8de86ee910f107da1106bd4dfc574909ecb35fc8 (diff) |
* (bug 4763) Prevent team join spam again
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_team.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |