Added, Updated and Removed Mods; Removed Backups

This commit is contained in:
2024-04-05 05:57:24 -04:00
parent 5caee9fba5
commit 6f19f2c70f
1209 changed files with 27057 additions and 41484 deletions
@@ -610,8 +610,8 @@ function actor_on_first_update()
if t.delete_routes[trans_from] then
for trans_to, trans_ar in pairs(maps_t) do -- ["mil"]
if t.delete_routes[trans_from][trans_to] then
for idx, trans in ipairs(trans_ar) do -- ["mil"]["trc"]
if t.delete_routes[trans_from][trans_to][trans] then
for idx = #trans_ar, 1, -1 do -- ["mil"]["trc"]
if t.delete_routes[trans_from][trans_to][trans_ar[idx]] then
table.remove(txr_routes.routes[trans_from][trans_to], idx)
-- remove key if array is empty
if #txr_routes.routes[trans_from][trans_to] <= 0 then