- Fixed a bug that was causing alien addons to not render when pawns were wearing apparel
This commit is contained in:
AbstractConcept 2023-02-07 22:08:58 -06:00
parent 9144029fec
commit 001121649b
11 changed files with 20 additions and 13 deletions

View file

@ -173,9 +173,9 @@ namespace Rimworld_Animations_Patch
return anchor;
}
public static bool ShouldNotDrawAddonsForPawn(Pawn pawn)
public static bool ShouldNotAnimatePawn(Pawn pawn)
{
return false;
return pawn.ageTracker.CurLifeStage.developmentalStage == DevelopmentalStage.Baby || pawn.ageTracker.CurLifeStage.developmentalStage == DevelopmentalStage.Child;
}
public static float GetBodySize(Pawn pawn)