diff --git a/Source/Modules/Pregnancy/Hediffs/Hediff_InsectEggPregnancy.cs b/Source/Modules/Pregnancy/Hediffs/Hediff_InsectEggPregnancy.cs index f119ab2ca019b8c541e6c3f2d15b02aaf4f2bccc..98569e84a91e79c408aab81cee5c95e5a03cbad4 100644 --- a/Source/Modules/Pregnancy/Hediffs/Hediff_InsectEggPregnancy.cs +++ b/Source/Modules/Pregnancy/Hediffs/Hediff_InsectEggPregnancy.cs @@ -267,7 +267,10 @@ namespace rjw } FilthMaker.MakeFilth(mother.Position, mother.Map, ThingDefOf.Filth_AmnioticFluid, mother.LabelIndefinite(), 5); int howmuch = xxx.has_quirk(mother, "Incubator") ? Rand.Range(1, 3) * 2 : Rand.Range(1, 3); - DebugThingPlaceHelper.DebugSpawn(ThingDef.Named("InsectJelly"), mother.InteractionCell, howmuch, false); + //DebugThingPlaceHelper.DebugSpawn(ThingDef.Named("InsectJelly"), mother.InteractionCell, howmuch, false); + int i = 0; + while (i++ < howmuch) + GenSpawn.Spawn(ThingDefOf.InsectJelly, mother.InteractionCell, mother.Map); } mother.health.RemoveHediff(this);