diff --git a/1.1/Assemblies/DualWield.dll b/1.1/Assemblies/DualWield.dll index 9bfa859..b9e343f 100644 Binary files a/1.1/Assemblies/DualWield.dll and b/1.1/Assemblies/DualWield.dll differ diff --git a/1.1/Source/DualWield/Harmony/Pawn_StanceTracker.cs b/1.1/Source/DualWield/Harmony/Pawn_StanceTracker.cs index c2c5633..d98e340 100644 --- a/1.1/Source/DualWield/Harmony/Pawn_StanceTracker.cs +++ b/1.1/Source/DualWield/Harmony/Pawn_StanceTracker.cs @@ -40,9 +40,9 @@ private static bool RunAndGunEnabled(Pawn pawn) bool runAndGunEnabled = false; if (pawn.AllComps.FirstOrDefault((ThingComp tc) => tc.GetType().Name == "CompRunAndGun") is ThingComp comp) { - if (comp.CompInspectStringExtra() != "")//Try to get value of isEnabled by abusing compInspectString. Only works with newer versions of RunAndGun. + if (comp.GetDescriptionPart() != "")//Try to get value of isEnabled by abusing compInspectString. Only works with newer versions of RunAndGun. { - runAndGunEnabled = Convert.ToBoolean(comp.CompInspectStringExtra()); + runAndGunEnabled = Convert.ToBoolean(comp.GetDescriptionPart()); } else //Otherwise use reflections, which is much more expensive in terms of execution time. {