Fix typo in signal assignment, causing crash

master
orwell96 2018-10-29 20:11:22 +01:00
parent 68f047cc01
commit ef50505e95
1 changed files with 1 additions and 1 deletions

View File

@ -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