Skip to content

Commit dd2e43b

Browse files
committed
fix Throwable.lua not checking for ismosrotating
1 parent db9e4d2 commit dd2e43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Ronin.rte/Devices/Shared/Throwable.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function OnDetach(self, exParent)
88
end
99

1010
function OnCollideWithMO(self, mo, rootMO)
11-
if self.thrown then
11+
if self.thrown and IsMOSRotating(mo) then
1212
local force = self.PrevVel * self.impactPower;
1313
mo:AddImpulseForce(force, Vector());
1414
if force.Magnitude * self.Sharpness > mo.Material.StructuralIntegrity then

0 commit comments

Comments
 (0)