mirror of https://github.com/nzp-team/quakec.git
SERVER: Fix InitRounds leaking spawn points on Soft_Restart
This commit is contained in:
parent
847556d5f1
commit
0fb9eaae3d
|
@ -341,7 +341,12 @@ void() InitRounds =
|
||||||
totalpowerups = 0;
|
totalpowerups = 0;
|
||||||
powerup_activate = 2000;
|
powerup_activate = 2000;
|
||||||
powerup_score_threshold = ((player_count + 1) * G_STARTPOINTS) + powerup_activate;
|
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;
|
round_changetime = time + 3.5;
|
||||||
rounds_change = 1;
|
rounds_change = 1;
|
||||||
roundinit = 1;
|
roundinit = 1;
|
||||||
|
|
Loading…
Reference in New Issue