mirror fix

This commit is contained in:
Platinum 2020-04-18 10:22:05 -07:00
parent 90400a798a
commit f8872b6a50
3 changed files with 5 additions and 3 deletions

View file

@ -99,7 +99,7 @@ namespace Rimworld_Animations {
AlienRaceOffset offset = anim?.actors[actor]?.raceOffsets?.Find(x => x.defName == pawn.def.defName);
if (offset != null) {
anchor.x += offset.x;
anchor.x += mirror ? offset.x * -1f : offset.x;
anchor.z += offset.z;
}