aboutsummaryrefslogtreecommitdiff
path: root/advtrains/p_mesecon_iface.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/p_mesecon_iface.lua')
-rw-r--r--advtrains/p_mesecon_iface.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/p_mesecon_iface.lua b/advtrains/p_mesecon_iface.lua
index 0b99891..0426e2b 100644
--- a/advtrains/p_mesecon_iface.lua
+++ b/advtrains/p_mesecon_iface.lua
@@ -46,7 +46,7 @@ minetest.override_item("mesecons_switch:mesecon_switch_on", {
mesecon.receptor_off(pos)
end
end,
- fallback_state = "off",
+ node_fallback_state = "off",
on_updated_from_nodedb = function(pos, node)
mesecon.receptor_on(pos)
end,