private void Activate() { this.active = true; this.nextPawnSpawnTick = Find.TickManager.TicksGame + Rand.Range(200, 400); CompSpawnerHives comp = base.GetComp <CompSpawnerHives>(); if (comp != null) { comp.CalculateNextHiveSpawnTick(); } }
private void Activate() { this.active = true; this.CalculateNextPawnSpawnTick(); CompSpawnerHives comp = base.GetComp <CompSpawnerHives>(); if (comp != null) { comp.CalculateNextHiveSpawnTick(); } }