From ef50505e9505812e79ccbd21f18fd1c0d7f3e25d Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 29 Oct 2018 20:11:22 +0100 Subject: Fix typo in signal assignment, causing crash --- advtrains_interlocking/tcb_ts_ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advtrains_interlocking') 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 -- cgit v1.2.3