Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit da77f5b

Browse files
committed
A bit of cleanup for 4zK's branch
1 parent 9186baf commit da77f5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Data/Ronin.rte/Devices/Tools/Shovel/Shovel.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ function Update(self)
4141
local fireVec = Vector(40 * self.FlipFactor, 0):RadRotate(aimAngle * self.FlipFactor + (0.3 - self.InheritedRotAngleOffset * 0.3) * self.FlipFactor);
4242
--Digging particles
4343
for i = 1, self.particleCount do
44-
local part = CreateMOPixel("Particle Ronin Shovel");
45-
part.Pos = self.MuzzlePos + Vector(math.sqrt(self.particleCount - i), 0):RadRotate(i * 2.39996);
44+
local part = CreateMOPixel("Particle Ronin Shovel". "Ronin.rte");
45+
local goldenAngleSmallerPart = 2.39996;
46+
part.Pos = self.MuzzlePos + Vector(math.sqrt(self.particleCount - i), 0):RadRotate(i * goldenAngleSmallerPart);
4647
part.Vel = fireVec;
4748
part.Sharpness = part.Sharpness * (0.5 + (i/self.particleCount) * 0.5);
4849
MovableMan:AddParticle(part);

0 commit comments

Comments
 (0)