Fix player queueing for tournament play (#4939)
This commit is contained in:
parent
806a849bf2
commit
31ec563999
4 changed files with 38 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue