aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/route_ui.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-01-30 13:59:46 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:36:24 +0100
commitaee7f0d4198c441c3dd4cb5d33f488607a1a81a5 (patch)
tree4a0d1eecb99885e88f3f00c606fffc7d07cd5c00 /advtrains_interlocking/route_ui.lua
parent119a09b784ad3f3c6bfd327f32164cb099f47f10 (diff)
downloadadvtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.tar.gz
advtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.tar.bz2
advtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.zip
Fix things, rework signal aspect select dialog, transform old aspects on-the-fly
Diffstat (limited to 'advtrains_interlocking/route_ui.lua')
-rw-r--r--advtrains_interlocking/route_ui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/route_ui.lua b/advtrains_interlocking/route_ui.lua
index 71fed09..64e45ee 100644
--- a/advtrains_interlocking/route_ui.lua
+++ b/advtrains_interlocking/route_ui.lua
@@ -129,7 +129,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
advtrains.interlocking.show_route_edit_form(pname, sigd, routeid)
end
- advtrains.interlocking.show_signal_aspect_selector(pname, suppasp, route.name, callback, route.aspect)
+ advtrains.interlocking.show_signal_aspect_selector(pname, suppasp, route.name, callback, route.aspect or advtrains.interlocking.GENERIC_FREE)
return
end
if fields.delete then