summaryrefslogtreecommitdiff
path: root/durt
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-12-21 00:00:02 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-12-21 00:00:02 +0100
commit9a4091e4e8da6da46338725797c2a6210e57ab7d (patch)
tree907b55205584adafe6f63bad77ab3dc95722bcbc /durt
parent491d9e6345c1fc3df828743fb906150b3187892e (diff)
downloadluaatc_envs-9a4091e4e8da6da46338725797c2a6210e57ab7d.tar.gz
luaatc_envs-9a4091e4e8da6da46338725797c2a6210e57ab7d.tar.bz2
luaatc_envs-9a4091e4e8da6da46338725797c2a6210e57ab7d.zip
State at 2024-12-21
Diffstat (limited to 'durt')
-rw-r--r--durt/nodes/(-1973,16,800).lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/durt/nodes/(-1973,16,800).lua b/durt/nodes/(-1973,16,800).lua
index ca1446e..5456ccc 100644
--- a/durt/nodes/(-1973,16,800).lua
+++ b/durt/nodes/(-1973,16,800).lua
@@ -21,7 +21,7 @@ local function send_train()
"E3S23N",
"ARC_LIGHT_EXIT"
}
- if #section_occupancy(sections.store_4) ~= 0 then
+ if #section_occupancy(sections.store_4) > 0 then
if print_notification then print(rwt.to_string(rwt.now()).. " "..notification_id.." send_train() has local job from STORE_4") end
-- perform local job to Arcadius Basement Loading Dock before taking wagons to BYARD
cmd = {
@@ -33,7 +33,7 @@ local function send_train()
"ARC_AUTO_LOCAL_LOADING", --direct to ARC Basement Loading Dock
"ARC_LOAD", --trigger the loading track
}
- elseif #section_occupancy(sections.departrues) ~= 0 then
+ elseif #section_occupancy(sections.departures) > 0 then
if print_notification then print(rwt.to_string(rwt.now()).. " "..notification_id.." send_train() has local job from STORE_4") end
cmd = { -- collect wagons from BYARD, and park loco in loco siding if no departures at ARC
"FREIGHT",