summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_team.c1
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 );