summaryrefslogtreecommitdiff
path: root/durt
diff options
context:
space:
mode:
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",