aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/tcb_ts_ui.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-10-21 16:39:54 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-10-21 16:39:54 +0200
commit74f7233d216da5a37a36fd54be4d8d6a4a278c8b (patch)
treea39a293363c307dad828911bf92788ac572db958 /advtrains_interlocking/tcb_ts_ui.lua
parent7977776b4a8067ea513d95ab2b0d699456596209 (diff)
parent27f85f2e225e038789036fac4407d97aacb2189b (diff)
downloadadvtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.tar.gz
advtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.tar.bz2
advtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.zip
Merge branch 'master' of https://git.bananach.space/advtrains
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 dca50da..6c773ab 100644
--- a/advtrains_interlocking/tcb_ts_ui.lua
+++ b/advtrains_interlocking/tcb_ts_ui.lua
@@ -85,7 +85,7 @@ minetest.register_node("advtrains_interlocking:tcb_node", {
local tcb = ildb.get_tcb(tcbpos)
if not tcb then return true end
for connid=1,2 do
- if tcb[connid].ts_id then
+ if tcb[connid].ts_id or tcb[connid].signal then
return false
end
end