diff --git a/1.3/Assemblies/Rimworld-Animations.dll b/1.3/Assemblies/Rimworld-Animations.dll index f07cd8a..ff33597 100644 Binary files a/1.3/Assemblies/Rimworld-Animations.dll and b/1.3/Assemblies/Rimworld-Animations.dll differ diff --git a/1.3/Source/MainTabWindows/MainTabWindow_OffsetConfigure.cs b/1.3/Source/MainTabWindows/MainTabWindow_OffsetConfigure.cs index 26df5e1..dd84be0 100644 --- a/1.3/Source/MainTabWindows/MainTabWindow_OffsetConfigure.cs +++ b/1.3/Source/MainTabWindows/MainTabWindow_OffsetConfigure.cs @@ -51,7 +51,7 @@ namespace Rimworld_Animations { AnimationSettings.rotation.Add(def.defName + curPawn.def.defName + bodyTypeDef + ActorIndex, 0); } - List pawnsToAnimateOrdered = curPawn.TryGetComp().actorsInCurrentAnimation.OrderBy(x => Int32.Parse(x.Name.ToStringSafe())).ToList(); + List pawnsToAnimateOrdered = curPawn.TryGetComp().actorsInCurrentAnimation.OrderBy(x => x.Name).ToList(); string pawnNamesAndSexType = ""; foreach (Pawn p in pawnsToAnimateOrdered) diff --git a/1.3/Source/Patches/RJWPatches/JobDrivers/HarmonyPatch_JobDriver_SexBaseInitiator.cs b/1.3/Source/Patches/RJWPatches/JobDrivers/HarmonyPatch_JobDriver_SexBaseInitiator.cs index 33c6277..dc6786c 100644 --- a/1.3/Source/Patches/RJWPatches/JobDrivers/HarmonyPatch_JobDriver_SexBaseInitiator.cs +++ b/1.3/Source/Patches/RJWPatches/JobDrivers/HarmonyPatch_JobDriver_SexBaseInitiator.cs @@ -94,7 +94,7 @@ namespace Rimworld_Animations { pawnsToAnimate[i].TryGetComp().isAnimating = false; } - List pawnsToAnimateOrdered = pawnsToAnimate.OrderBy(x => Int32.Parse(x.Name.ToStringSafe())).ToList(); + List pawnsToAnimateOrdered = pawnsToAnimate.OrderBy(x => x.Name).ToList(); string pawnNamesAndSexType = ""; foreach (Pawn p in pawnsToAnimateOrdered)