aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/tcb_ts_ui.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-29 20:11:22 +0100
committerorwell96 <orwell@bleipb.de>2018-10-29 20:11:22 +0100
commitef50505e9505812e79ccbd21f18fd1c0d7f3e25d (patch)
treeb6da55f57d3b84030cc26163aca21aea5eaca362 /advtrains_interlocking/tcb_ts_ui.lua
parent68f047cc01b68daee71336ba00d121776316b808 (diff)
downloadadvtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.gz
advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.bz2
advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.zip
Fix typo in signal assignment, causing crash
Diffstat (limited to 'advtrains_interlocking/tcb_ts_ui.lua')
-rw-r--r--advtrains_interlocking/tcb_ts_ui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/tcb_ts_ui.lua b/advtrains_interlocking/tcb_ts_ui.lua
index 6e538c5..c0e0d98 100644
--- a/advtrains_interlocking/tcb_ts_ui.lua
+++ b/advtrains_interlocking/tcb_ts_ui.lua
@@ -144,7 +144,7 @@ minetest.register_on_punchnode(function(pos, node, player, pointed_thing)
local tcbs = ildb.get_tcbs(sigd)
if tcbs then
tcbs.signal = pos
- if not tchs.signal_name then
+ if not tcbs.signal_name then
tcbs.signal_name = "Signal at "..minetest.pos_to_string(sigd.p)
end
if not tcbs.routes then