public override void SpawnSetup() { base.SpawnSetup(); mountableComp = base.GetComp <CompMountable>(); UpdateGraphics(); }
public override void SpawnSetup() { base.SpawnSetup(); mountableComp = GetComp <CompMountable>(); LongEventHandler.ExecuteWhenFinished(UpdateGraphics); }
public override void SpawnSetup() { base.SpawnSetup(); mountableComp = base.GetComp <CompMountable>(); if (allowances == null) { this.allowances = new ThingFilter(); this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile); this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile); } UpdateGraphics(); }
public override void SpawnSetup() { base.SpawnSetup(); mountableComp = base.GetComp<CompMountable>(); if (allowances == null) { this.allowances = new ThingFilter(); this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile); this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile); } UpdateGraphics(); }