diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2019-10-21 16:39:54 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2019-10-21 16:39:54 +0200 |
commit | 74f7233d216da5a37a36fd54be4d8d6a4a278c8b (patch) | |
tree | a39a293363c307dad828911bf92788ac572db958 /advtrains_interlocking/database.lua | |
parent | 7977776b4a8067ea513d95ab2b0d699456596209 (diff) | |
parent | 27f85f2e225e038789036fac4407d97aacb2189b (diff) | |
download | advtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.tar.gz advtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.tar.bz2 advtrains-74f7233d216da5a37a36fd54be4d8d6a4a278c8b.zip |
Merge branch 'master' of https://git.bananach.space/advtrains
Diffstat (limited to 'advtrains_interlocking/database.lua')
-rw-r--r-- | advtrains_interlocking/database.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains_interlocking/database.lua b/advtrains_interlocking/database.lua index 7571a2c..8df874f 100644 --- a/advtrains_interlocking/database.lua +++ b/advtrains_interlocking/database.lua @@ -336,7 +336,8 @@ function ildb.sync_tcb_neighbors(pos, connid) local found_tcbs = { {p = pos, s = connid} } local node_ok, conns, rhe = advtrains.get_rail_info_at(pos, advtrains.all_tracktypes) if not node_ok then - error("update_tcb_neighbors but node is NOK: "..minetest.pos_to_string(pos)) + atwarn("update_tcb_neighbors but node is NOK: "..minetest.pos_to_string(pos)) + return end --atdebug("Traversing from ",pos, connid) |