Merge branch 'h137' into 'h137'

Fix

See merge request tunnelers-abyss/advtrains!7
h137
Humr Druhý 2022-03-22 18:40:04 +00:00
commit 736d4eab22
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ ilrs.rte_callbacks = {
-- false, message, cbts, cblk - something went wrong, what is contained in the message.
-- cbts: the ts id of the conflicting ts, cblk: the pts of the conflicting component
function ilrs.set_route(signal, route, try)
if not route then return end
if not try then
local tsuc, trsn, cbts, cblk = ilrs.set_route(signal, route, true)
if not tsuc then