remove incorrect wave0 from default regular spawn list

This commit is contained in:
GenZmeY 2022-05-23 19:06:49 +03:00
parent f0b10fb158
commit d466d1fc79

View File

@ -47,12 +47,11 @@ private static function ApplyDefault(KFGI_Access KFGIA)
SpawnEntry.Delay = 60; SpawnEntry.Delay = 60;
SpawnEntry.Probability = 100; SpawnEntry.Probability = 100;
SpawnEntry.bSpawnAtPlayerStart = false; SpawnEntry.bSpawnAtPlayerStart = false;
SpawnEntry.ZedClass = "SomePackage.SomeZedClass1";
default.Spawn.AddItem(SpawnEntry);
KFPM_Zeds = KFGIA.GetAIClassList(); KFPM_Zeds = KFGIA.GetAIClassList();
foreach KFPM_Zeds(KFPMC) foreach KFPM_Zeds(KFPMC)
{ {
SpawnEntry.Wave++; ++SpawnEntry.Wave;
SpawnEntry.ZedClass = "KFGameContent." $ String(KFPMC); SpawnEntry.ZedClass = "KFGameContent." $ String(KFPMC);
default.Spawn.AddItem(SpawnEntry); default.Spawn.AddItem(SpawnEntry);
} }