aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/route_prog.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-02-03 16:37:03 +0100
committerorwell96 <orwell@bleipb.de>2019-02-03 16:37:03 +0100
commitbe09acf5e2da6b71d0ba3449421ee982b2d53331 (patch)
tree85df801ffd80838b59a045de6b5101d7401d69a5 /advtrains_interlocking/route_prog.lua
parent9da148347d304ec2f26af6f813e26cb02bc6a6e7 (diff)
downloadadvtrains-be09acf5e2da6b71d0ba3449421ee982b2d53331.tar.gz
advtrains-be09acf5e2da6b71d0ba3449421ee982b2d53331.tar.bz2
advtrains-be09acf5e2da6b71d0ba3449421ee982b2d53331.zip
Minor Bugfixes
Diffstat (limited to 'advtrains_interlocking/route_prog.lua')
-rw-r--r--advtrains_interlocking/route_prog.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_interlocking/route_prog.lua b/advtrains_interlocking/route_prog.lua
index 70eceb8..eadfd93 100644
--- a/advtrains_interlocking/route_prog.lua
+++ b/advtrains_interlocking/route_prog.lua
@@ -491,6 +491,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
advtrains.interlocking.clear_visu_context("prog_"..pname)
player_rte_prog[pname] = nil
chat(pname, "Successfully programmed route.")
+
+ advtrains.interlocking.show_route_edit_form(pname, rp.origin, #tcbs.routes)
return
end
end