Let CompExposeData load the base values properly when they're already extant

This commit is contained in:
lutepickle 2022-07-31 06:07:57 -07:00
parent 814d500b45
commit 7c98a49ee3
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -144,9 +144,9 @@ namespace RJW_Menstruation
if (Scribe.mode == LoadSaveMode.LoadingVars)
{ // For compatibility
Scribe_Values.Look(ref baseAlpha, "alphaPermanent", -1, false);
Scribe_Values.Look(ref baseAreola, "areolaSizePermanent", -1, false);
Scribe_Values.Look(ref baseNipple, "nippleSizePermanent", -1, false);
Scribe_Values.Look(ref baseAlpha, "alphaPermanent", baseAlpha / 2, false);
Scribe_Values.Look(ref baseAreola, "areolaSizePermanent", baseAreola / 2, false);
Scribe_Values.Look(ref baseNipple, "nippleSizePermanent", baseNipple / 2, false);
baseAlpha *= 2;
baseAreola *= 2;
baseNipple *= 2;