aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-11-25 22:36:23 +0100
committerorwell <orwell@bleipb.de>2024-11-25 22:36:23 +0100
commit95faa8f1baa68c3f6a104160d61713ade276676b (patch)
tree9c032c25657a8e84716262fc7dd4da59855dece2 /advtrains_interlocking/routesetting.lua
parent7b090057503fa413c0a20b12423b856c3120ace1 (diff)
downloadadvtrains-95faa8f1baa68c3f6a104160d61713ade276676b.tar.gz
advtrains-95faa8f1baa68c3f6a104160d61713ade276676b.tar.bz2
advtrains-95faa8f1baa68c3f6a104160d61713ade276676b.zip
Remove debug prints of distant signalling system
Diffstat (limited to 'advtrains_interlocking/routesetting.lua')
-rw-r--r--advtrains_interlocking/routesetting.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_interlocking/routesetting.lua b/advtrains_interlocking/routesetting.lua
index f2a00cd..5d7357d 100644
--- a/advtrains_interlocking/routesetting.lua
+++ b/advtrains_interlocking/routesetting.lua
@@ -83,7 +83,7 @@ function ilrs.set_route(signal, route, try)
end_pkey = advtrains.encode_pos(c_rseg.next.p)
if c_ts.rs_cache[start_pkey] and c_ts.rs_cache[start_pkey][end_pkey] then
for lp,lst in pairs(c_ts.rs_cache[start_pkey][end_pkey]) do
- atdebug("Add lock from RSCache:",lp,"->",lst)
+ --atdebug("Add lock from RSCache:",lp,"->",lst)
c_locks[lp] = lst
end
elseif not try then
@@ -92,7 +92,7 @@ function ilrs.set_route(signal, route, try)
end
-- add all from locks, these override the rscache
for lpts,lst in pairs(c_rseg.locks) do
- atdebug("Add lock from Routedef:",lpts,"->",lst,"overrides",c_locks[lpts] or "none")
+ --atdebug("Add lock from Routedef:",lpts,"->",lst,"overrides",c_locks[lpts] or "none")
c_locks[lpts] = lst
end