Fix player queueing for tournament play (#4939)
This commit is contained in:
1 parent
806a849bf2
commit
31ec563999
4 files changed
+38
-11
No files matched your search
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user