public override void ExposeData() { base.ExposeData(); Scribe_Collections.Look <Pawn>(ref this.previouslyGeneratedInhabitants, "previouslyGeneratedInhabitants", LookMode.Reference, new object[0]); Scribe_Deep.Look <Settlement_TraderTracker>(ref this.trader, "trader", new object[] { this }); if (Scribe.mode == LoadSaveMode.PostLoadInit) { BackCompatibility.SettlementPostLoadInit(this); this.previouslyGeneratedInhabitants.RemoveAll((Pawn x) => x == null); } }