diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-18 18:32:58 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-18 18:32:58 -0500 |
commit | fd8693671d81eda7ab62c397b77d9496c39cc2f2 (patch) | |
tree | 6d6a2972a19444cd00d80a28bf238c697c849e7e /callbuttons.lua | |
parent | fced29c598cdcda58aec2e5db4fca19aae06bf45 (diff) | |
download | celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.gz celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.bz2 celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.xz celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.zip |
Fix more bugs
Diffstat (limited to 'callbuttons.lua')
-rw-r--r-- | callbuttons.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callbuttons.lua b/callbuttons.lua index 080ca54..46875fe 100644 --- a/callbuttons.lua +++ b/callbuttons.lua @@ -36,7 +36,7 @@ local validstates = { } function celevator.callbutton.setlight(pos,dir,newstate) - local node = minetest.get_node(pos) + local node = celevator.get_node(pos) if minetest.get_item_group(node.name,"_celevator_callbutton") ~= 1 then return end if dir == "up" then if minetest.get_item_group(node.name,"_celevator_callbutton_has_up") ~= 1 then return end |