Skip to content

Commit 622a890

Browse files
committed
fix extinction stance weirdness once and for all hopefully
1 parent 78302b7 commit 622a890

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Data/Browncoats.rte/Devices/Weapons/Extinction/Extinction.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ function Create(self)
2323
self.reloadDelay = 200;
2424
self.origReloadTime = 900;
2525

26-
self.origStanceOffset = Vector(math.abs(self.StanceOffset.X), self.StanceOffset.Y);
27-
self.origSharpStanceOffset = Vector(self.SharpStanceOffset.X, self.SharpStanceOffset.Y);
26+
-- for some reason if this is added to sim while facing leftwards, StanceOffsets will actually be flipped.
27+
28+
self.origStanceOffset = Vector(self.StanceOffset.X*self.FlipFactor, self.StanceOffset.Y);
29+
self.origSharpStanceOffset = Vector(self.SharpStanceOffset.X*self.FlipFactor, self.SharpStanceOffset.Y);
2830

2931
self.origShakeRange = self.ShakeRange;
3032
self.origSharpShakeRange = self.SharpShakeRange;

0 commit comments

Comments
 (0)