diff --git a/1.3/Assemblies/FH.dll b/1.3/Assemblies/FH.dll index 0833263..897c5d7 100644 Binary files a/1.3/Assemblies/FH.dll and b/1.3/Assemblies/FH.dll differ diff --git a/1.3/Source/Mod/fh.cs b/1.3/Source/Mod/fh.cs index 1745577..f4d91fe 100644 --- a/1.3/Source/Mod/fh.cs +++ b/1.3/Source/Mod/fh.cs @@ -32,6 +32,10 @@ namespace rjwfh { try { + if (pawn == null) + { + return; + } if (partner == null) { return; @@ -77,10 +81,10 @@ namespace rjwfh hole = p1pf.FirstOrDefault(); } - if (p1pf.NullOrEmpty()) + if (pp == null) return; - if (p2pf.NullOrEmpty()) + if (hole == null) return; } //hole "fucks" pp @@ -107,10 +111,10 @@ namespace rjwfh hole = p2pf.FirstOrDefault(); } - if (p1pf.NullOrEmpty()) + if (pp == null) return; - if (p2pf.NullOrEmpty()) + if (hole == null) return; } else @@ -146,10 +150,10 @@ namespace rjwfh hole = p1pf.FirstOrDefault(); } - if (p1pf.NullOrEmpty()) + if (pp == null) return; - if (p2pf.NullOrEmpty()) + if (hole == null) return; } //hole "fucks" pp @@ -176,10 +180,10 @@ namespace rjwfh hole = p2pf.FirstOrDefault(); } - if (p1pf.NullOrEmpty()) + if (pp == null) return; - if (p2pf.NullOrEmpty()) + if (hole == null) return; } else @@ -209,7 +213,7 @@ namespace rjwfh stage = 1; if (stage != -1) - p1.needs.mood.thoughts.memories.TryGainMemory(ThoughtMaker.MakeThought(T, stage), null); + p1?.needs?.mood?.thoughts?.memories?.TryGainMemory(ThoughtMaker.MakeThought(T, stage), null); } return; diff --git a/About/Manifest.xml b/About/Manifest.xml index 3978f53..96fb1c7 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@ RimJobWorld FH - 1.1.0 + 1.2.0
  • RimJobWorld