aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
committerorwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
commit7c60b8ffd1c1ed9d30de80727023ede4e186d0e6 (patch)
tree0ad210c102745ce65ffc08b987000dbb9cb4ab90 /advtrains_interlocking
parenta34c2f40532a4b424a64c475e732dc9e7d96ae29 (diff)
downloadadvtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.gz
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.bz2
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.zip
Fix small bug in routeui and make another message log-only
Diffstat (limited to 'advtrains_interlocking')
-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 54760db..a843ae4 100644
--- a/advtrains_interlocking/route_ui.lua
+++ b/advtrains_interlocking/route_ui.lua
@@ -119,7 +119,7 @@ function atil.show_route_edit_form(pname, sigd, routeid)
end
if c_sigd then
local e_tcbs = ildb.get_tcbs(c_sigd)
- itab("Route end: "..sigd_to_string(c_sigd).." ("..(e_tcbs.signal_name or "-")..")")
+ itab("Route end: "..sigd_to_string(c_sigd).." ("..(e_tcbs and e_tcbs.signal_name or "-")..")")
else
itab("Route ends on dead-end")
end