summaryrefslogtreecommitdiff
path: root/fs1switch.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-18 18:32:58 -0500
committercheapie <no-email-for-you@example.com>2024-04-18 18:32:58 -0500
commitfd8693671d81eda7ab62c397b77d9496c39cc2f2 (patch)
tree6d6a2972a19444cd00d80a28bf238c697c849e7e /fs1switch.lua
parentfced29c598cdcda58aec2e5db4fca19aae06bf45 (diff)
downloadcelevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar
celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.gz
celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.bz2
celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.tar.xz
celevator-fd8693671d81eda7ab62c397b77d9496c39cc2f2.zip
Fix more bugs
Diffstat (limited to 'fs1switch.lua')
-rw-r--r--fs1switch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs1switch.lua b/fs1switch.lua
index d63d2f1..d0f4349 100644
--- a/fs1switch.lua
+++ b/fs1switch.lua
@@ -70,7 +70,7 @@ function celevator.fs1switch.setled(pos,on)
["celevator:fs1switch_off"] = "celevator:fs1switch_off_lit",
["celevator:fs1switch_reset"] = "celevator:fs1switch_reset_lit",
}
- local node = minetest.get_node(pos)
+ local node = celevator.get_node(pos)
if on and onstates[node.name] then
node.name = onstates[node.name]
minetest.swap_node(pos,node)