summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-09-14 17:37:59 -0500
committercheapie <no-email-for-you@example.com>2024-09-14 17:37:59 -0500
commit66b57400405fab8302a9a18037374da3f635dcf1 (patch)
treeb0c1f009b465605fe036ed220304be6d00b8878b /init.lua
parentd03d15d798dea924c911b198ef715ab7a3c22602 (diff)
downloadelevatorparts-master.tar
elevatorparts-master.tar.gz
elevatorparts-master.tar.bz2
elevatorparts-master.tar.xz
elevatorparts-master.zip
Fix deprecated function callHEADmaster
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 2255b4d..188e34d 100644
--- a/init.lua
+++ b/init.lua
@@ -671,7 +671,7 @@ local function updateDisplay(pos)
end
entity:set_properties({textures={etex}})
entity:set_yaw((fdir.x ~= 0) and math.pi/2 or 0)
- entity:setpos(vector.add(pos,vector.multiply(fdir,0.45)))
+ entity:set_pos(vector.add(pos,vector.multiply(fdir,0.45)))
end
local pi_ignore = {