public override void PostSpawnSetup(bool respawningAfterLoad) { VoidNet = parent.Map.GetComponent <MapVoidEnergyNet>(); if (!parent.def.useHitPoints) { MaxHitPoints = 0; } else { MaxHitPoints = parent.MaxHitPoints; } TwiceCheck = parent.def.tickerType == TickerType.Rare; base.PostSpawnSetup(respawningAfterLoad); }
public override void PostSpawnSetup(bool respawningAfterLoad) { VoidNet = parent.Map.GetComponent <MapVoidEnergyNet>(); flickableComp = parent.GetComp <CompFlickable>(); base.PostSpawnSetup(respawningAfterLoad); }