public override void CompExposeData() { base.CompExposeData(); //Scribe_Values.Look<HediffCompProperties_Restorer>(ref this.exactProps, "exactProps"); Scribe_Values.Look <int>(ref this.ticks, "ticks"); if (Scribe.mode == LoadSaveMode.PostLoadInit) { this.exactProps = this.Props; } }
public override void CompPostMake() { base.CompPostMake(); this.exactProps = this.Props; }