diff --git a/1.4/Assemblies/RJWSexperience.Ideology.dll b/1.4/Assemblies/RJWSexperience.Ideology.dll index 88b1f5a..a63afc4 100644 Binary files a/1.4/Assemblies/RJWSexperience.Ideology.dll and b/1.4/Assemblies/RJWSexperience.Ideology.dll differ diff --git a/About/Manifest.xml b/About/Manifest.xml index c6907d3..0fb5067 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@ RJWSexperienceIdeology - 1.0.2.1 + 1.0.2.0
  • RimJobWorld >= 5.3.0
  • diff --git a/CHANGELOG.md b/CHANGELOG.md index 97418aa..e78e5d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,3 @@ -## Version 1.0.2.1 -* Fixed SecondaryRomanceChanceFactor patch ## Version 1.0.2.0 * Removed Incestuos_IncestOnly conflict with Zoophile * Patched manual romance to respect incestuous precepts diff --git a/Source/IdeologyAddon/Patches/Rimworld_Patch.cs b/Source/IdeologyAddon/Patches/Rimworld_Patch.cs index 1cbf453..8d4498a 100644 --- a/Source/IdeologyAddon/Patches/Rimworld_Patch.cs +++ b/Source/IdeologyAddon/Patches/Rimworld_Patch.cs @@ -1,5 +1,4 @@ using HarmonyLib; -using Mono.Cecil.Cil; using RimWorld; using rjw; using RJWSexperience.Ideology.HistoryEvents; @@ -146,7 +145,7 @@ namespace RJWSexperience.Ideology.Patches // store results in the same place original loop does and remove everything else until Endfinaly IEnumerator enumerator = instructions.GetEnumerator(); - bool endOfInstructions = !enumerator.MoveNext(); + bool endOfInstructions = enumerator.MoveNext(); // Find and replace GetRelations while (!endOfInstructions) @@ -161,7 +160,7 @@ namespace RJWSexperience.Ideology.Patches } yield return instruction; - endOfInstructions = !enumerator.MoveNext(); + endOfInstructions = enumerator.MoveNext(); } if (endOfInstructions) @@ -180,7 +179,7 @@ namespace RJWSexperience.Ideology.Patches break; } - endOfInstructions = !enumerator.MoveNext(); + endOfInstructions = enumerator.MoveNext(); } if (endOfInstructions) @@ -198,7 +197,7 @@ namespace RJWSexperience.Ideology.Patches break; } - endOfInstructions = !enumerator.MoveNext(); + endOfInstructions = enumerator.MoveNext(); } if (endOfInstructions) @@ -212,8 +211,6 @@ namespace RJWSexperience.Ideology.Patches { yield return enumerator.Current; } - - if (Prefs.DevMode) Log.Message("[RSI] Successfully transpiled Pawn_RelationsTracker.SecondaryRomanceChanceFactor"); } [HarmonyPatch(typeof(Precept), nameof(Precept.GetTip))]