Fix player queueing for tournament play (#4939)

This commit is contained in:
Thilo Schulz committed 2011-04-07 23:41:32 +00:00
1 parent 806a849bf2
commit 31ec563999
4 files changed
+38 -11

No files matched your search

+3 -3
View File
@@ -583,10 +583,10 @@ void SetTeam( gentity_t *ent, char *s ) {
player_die (ent, ent, ent, 100000, MOD_SUICIDE);
}
// they go to the end of the line for tournements
if ( team == TEAM_SPECTATOR ) {
client->sess.spectatorTime = level.time;
}
if(team == TEAM_SPECTATOR && oldTeam != team)
AddTournamentQueue(client);
client->sess.sessionTeam = team;
client->sess.spectatorState = specState;