Skip to content

Commit c2e69d1

Browse files
committed
use mosprite instead
1 parent dd2e43b commit c2e69d1

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 and IsMOSRotating(mo) then
11+
if self.thrown and IsMOSprite(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)