mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Fix InitRounds leaking spawn points on Soft_Restart
This commit is contained in:
parent
847556d5f1
commit
0fb9eaae3d
1 changed files with 6 additions and 1 deletions
|
@ -341,7 +341,12 @@ void() InitRounds =
|
|||
totalpowerups = 0;
|
||||
powerup_activate = 2000;
|
||||
powerup_score_threshold = ((player_count + 1) * G_STARTPOINTS) + powerup_activate;
|
||||
spawnAllZombEnts();
|
||||
|
||||
// cypress -- fix Soft_Restart spawning multiple
|
||||
// pairs of zombie spawn points.
|
||||
if (!roundinit)
|
||||
spawnAllZombEnts();
|
||||
|
||||
round_changetime = time + 3.5;
|
||||
rounds_change = 1;
|
||||
roundinit = 1;
|
||||
|
|
Loading…
Reference in a new issue