From 48a133651545eec5720153d8e12efb9093f302b8 Mon Sep 17 00:00:00 2001 From: amevarashi Date: Fri, 6 May 2022 21:17:45 +0500 Subject: [PATCH] Optimize SexPartnerHistory scribing --- .../SexHistory/SexPartnerHistory.cs | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/RJWSexperience/RJWSexperience/SexHistory/SexPartnerHistory.cs b/RJWSexperience/RJWSexperience/SexHistory/SexPartnerHistory.cs index 61b6754..98e9974 100644 --- a/RJWSexperience/RJWSexperience/SexHistory/SexPartnerHistory.cs +++ b/RJWSexperience/RJWSexperience/SexHistory/SexPartnerHistory.cs @@ -260,21 +260,22 @@ namespace RJWSexperience } Scribe_Collections.Look(ref histories, "histories", LookMode.Value, LookMode.Deep); - Scribe_Values.Look(ref first, "first", "", true); - Scribe_Values.Look(ref recentsex, "recentsex", recentsex, true); - Scribe_Values.Look(ref recentsat, "recentsat", recentsat, true); - Scribe_Values.Look(ref recentpartner, "recentpartner", recentpartner, true); - Scribe_Values.Look(ref virginstaken, "virginstaken", virginstaken, true); - Scribe_Values.Look(ref incestuous, "incestous", incestuous, true); - Scribe_Values.Look(ref bestiality, "bestiality", bestiality, true); - Scribe_Values.Look(ref corpsefuck, "corpsefuck", corpsefuck, true); - Scribe_Values.Look(ref interspecies, "interspecies", interspecies, true); - Scribe_Values.Look(ref firstsextickabs, "firstsextickabs", firstsextickabs, true); + Scribe_Values.Look(ref first, "first", string.Empty); + Scribe_Values.Look(ref recentsex, "recentsex", xxx.rjwSextype.None); + Scribe_Values.Look(ref recentsat, "recentsat", 0); + Scribe_Values.Look(ref recentpartner, "recentpartner", string.Empty); + Scribe_Values.Look(ref virginstaken, "virginstaken", 0); + Scribe_Values.Look(ref incestuous, "incestous", 0); + Scribe_Values.Look(ref bestiality, "bestiality", 0); + Scribe_Values.Look(ref corpsefuck, "corpsefuck", 0); + Scribe_Values.Look(ref interspecies, "interspecies", 0); + Scribe_Values.Look(ref firstsextickabs, "firstsextickabs", 0); Scribe_Collections.Look(ref sextypecountsave, "sextypecountsave", LookMode.Value); Scribe_Collections.Look(ref sextypesatsave, "sextypesatsave", LookMode.Value); Scribe_Collections.Look(ref sextyperecenttickabssave, "sextyperecenttickabssave", LookMode.Value); - if (histories == null) histories = new Dictionary(); + if (histories == null) + histories = new Dictionary(); if (Scribe.mode == LoadSaveMode.LoadingVars) {