aboutsummaryrefslogtreecommitdiff
path: root/advtrains/signals.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-07-07 14:25:47 +0200
committerorwell96 <orwell@bleipb.de>2020-07-07 14:25:47 +0200
commitf33bb563e78a62cc8fb2e1483a6cb9a2436b708a (patch)
treea3690d6dbc6a04c82e4aad78f3fb5d2f90fa533d /advtrains/signals.lua
parent96236c04dc790cbcd4d8cb52aee5563f54e736aa (diff)
downloadadvtrains-f33bb563e78a62cc8fb2e1483a6cb9a2436b708a.tar.gz
advtrains-f33bb563e78a62cc8fb2e1483a6cb9a2436b708a.tar.bz2
advtrains-f33bb563e78a62cc8fb2e1483a6cb9a2436b708a.zip
Add "Fallback state" for freed routes, move p_mesecon_iface.lua to core
Diffstat (limited to 'advtrains/signals.lua')
-rw-r--r--advtrains/signals.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/signals.lua b/advtrains/signals.lua
index b3dceca..e144aa6 100644
--- a/advtrains/signals.lua
+++ b/advtrains/signals.lua
@@ -302,6 +302,7 @@ minetest.register_node("advtrains:across_on", {
advtrains.ndb.swap_node(pos, {name = "advtrains:across_off", param2 = node.param2}, true)
end
end,
+ fallback_state = "off",
},
on_rightclick=function(pos, node, player)
if advtrains.check_turnout_signal_protection(pos, player:get_player_name()) then