示例#1
0
        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();
            }
        }
示例#2
0
        private void Activate()
        {
            this.active = true;
            this.CalculateNextPawnSpawnTick();
            CompSpawnerHives comp = base.GetComp <CompSpawnerHives>();

            if (comp != null)
            {
                comp.CalculateNextHiveSpawnTick();
            }
        }