From 95faa8f1baa68c3f6a104160d61713ade276676b Mon Sep 17 00:00:00 2001 From: orwell Date: Mon, 25 Nov 2024 22:36:23 +0100 Subject: Remove debug prints of distant signalling system --- advtrains_interlocking/routesetting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'advtrains_interlocking/routesetting.lua') 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 -- cgit v1.2.3