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

Commit 84f7a63

Browse files
committed
Switched constructor collect particle reliance to MOID for now
1 parent 5324f77 commit 84f7a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Base.rte/Devices/Tools/Constructor/Constructor.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function Update(self)
342342
self.clearer:EraseFromTerrain();
343343
local collectfx2 = CreateMOPixel("Particle Constructor Gather Material Gold");
344344
collectfx2.Pos = Vector(checkpos.X,checkpos.Y);
345-
collectfx2.Sharpness = self.UniqueID;
345+
collectfx2.Sharpness = self.ID;
346346
MovableMan:AddParticle(collectfx2);
347347
else
348348
local matstrength = SceneMan:CastStrengthSumRay(Vector(checkpos.X,checkpos.Y-1),Vector(checkpos.X,checkpos.Y),0,0);
@@ -365,7 +365,7 @@ function Update(self)
365365
if diddig then
366366
local collectfx = CreateMOPixel("Particle Constructor Gather Material");
367367
collectfx.Pos = Vector(digpos.X,digpos.Y);
368-
collectfx.Sharpness = self.UniqueID;
368+
collectfx.Sharpness = self.ID;
369369
MovableMan:AddParticle(collectfx);
370370
end
371371
else -- deactivate if digging air

0 commit comments

Comments
 (0)