Mehni / kNumbers

Quick comparison of colonist stats
MIT License
34 stars 28 forks source link

Clean up temp pawns #22

Closed alextd closed 4 years ago

alextd commented 4 years ago

(by DESTROYING THEM BWAAHAHAAAA)

A few mods e.g. Smart Medicine stored settings for pawns, and were somehow getting these temp pawns stored. The save file would then have dangling refs to pawns that were not saved to the file.

For vanilla, I think occasionally some pawn relations might have been messed up, just logging warnings on load for the missing pawn.

Mehni commented 4 years ago

hmm.

Yeah alright. I should probably cache those stats too, to reduce churn. Cheers.