SERVER: Fix InitRounds leaking spawn points on Soft_Restart

This commit is contained in:
cypress 2023-12-14 14:57:12 -05:00
parent 847556d5f1
commit 0fb9eaae3d

View file

@ -341,7 +341,12 @@ void() InitRounds =
totalpowerups = 0;
powerup_activate = 2000;
powerup_score_threshold = ((player_count + 1) * G_STARTPOINTS) + powerup_activate;
// cypress -- fix Soft_Restart spawning multiple
// pairs of zombie spawn points.
if (!roundinit)
spawnAllZombEnts();
round_changetime = time + 3.5;
rounds_change = 1;
roundinit = 1;