Fix typo in signal assignment, causing crash
This commit is contained in:
parent
68f047cc01
commit
ef50505e95
|
@ -144,7 +144,7 @@ minetest.register_on_punchnode(function(pos, node, player, pointed_thing)
|
||||||
local tcbs = ildb.get_tcbs(sigd)
|
local tcbs = ildb.get_tcbs(sigd)
|
||||||
if tcbs then
|
if tcbs then
|
||||||
tcbs.signal = pos
|
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)
|
tcbs.signal_name = "Signal at "..minetest.pos_to_string(sigd.p)
|
||||||
end
|
end
|
||||||
if not tcbs.routes then
|
if not tcbs.routes then
|
||||||
|
|
Loading…
Reference in New Issue