diff options
author | orwell96 <orwell@bleipb.de> | 2018-10-29 20:11:22 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-10-29 20:11:22 +0100 |
commit | ef50505e9505812e79ccbd21f18fd1c0d7f3e25d (patch) | |
tree | b6da55f57d3b84030cc26163aca21aea5eaca362 | |
parent | 68f047cc01b68daee71336ba00d121776316b808 (diff) | |
download | advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.gz advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.tar.bz2 advtrains-ef50505e9505812e79ccbd21f18fd1c0d7f3e25d.zip |
Fix typo in signal assignment, causing crash
-rw-r--r-- | advtrains_interlocking/tcb_ts_ui.lua | 2 |
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 |