mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
mirror fix
This commit is contained in:
parent
90400a798a
commit
f8872b6a50
3 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue