From c549b98625877526d198be62d4778ebda47eeab0 Mon Sep 17 00:00:00 2001 From: Govorunb Date: Mon, 3 Jun 2024 00:34:09 +1000 Subject: [PATCH] got too silly --- SCHIZO/Events/ErmfishDefenseForce/ErmfishDefenseForce.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCHIZO/Events/ErmfishDefenseForce/ErmfishDefenseForce.cs b/SCHIZO/Events/ErmfishDefenseForce/ErmfishDefenseForce.cs index 0c88ab9d..4a90bf77 100644 --- a/SCHIZO/Events/ErmfishDefenseForce/ErmfishDefenseForce.cs +++ b/SCHIZO/Events/ErmfishDefenseForce/ErmfishDefenseForce.cs @@ -161,6 +161,7 @@ private IEnumerator SpawnDefenderGroup(Defender defender) { if (defender is null) yield break; + SpawnQueued = true; if (defender.maxGroupSize == 0) { ErrorMessage.AddMessage($"delopver forgor to set group size on {defender.ClassId} everybody point and laugh"); @@ -168,7 +169,6 @@ private IEnumerator SpawnDefenderGroup(Defender defender) } int willSpawn = Random.RandomRangeInt(1, defender.maxGroupSize); if (debugSpawns) LOGGER.LogDebug($"(EDF) spawning {willSpawn} {defender.ClassId}"); - SpawnQueued = true; TaskResult prefabTask = new(); yield return defender.GetPrefab(prefabTask); GameObject prefab = prefabTask.Get();