summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4027,12,-2655).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:01 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:01 +0200
commited1a5e9d799eb37a36e620cb689da84a708d2eed (patch)
tree37dcd6182782dba93288e72bf2b9036cf8887970 /Tyard/nodes/(-4027,12,-2655).lua
parentc5162349ed82ccbde82a8f870a45e7cc5c0c5e65 (diff)
downloadluaatc_envs-ed1a5e9d799eb37a36e620cb689da84a708d2eed.tar.gz
luaatc_envs-ed1a5e9d799eb37a36e620cb689da84a708d2eed.tar.bz2
luaatc_envs-ed1a5e9d799eb37a36e620cb689da84a708d2eed.zip
State at 2022-04-24
Diffstat (limited to 'Tyard/nodes/(-4027,12,-2655).lua')
-rw-r--r--Tyard/nodes/(-4027,12,-2655).lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tyard/nodes/(-4027,12,-2655).lua b/Tyard/nodes/(-4027,12,-2655).lua
index b7ed9c7..c7a71f4 100644
--- a/Tyard/nodes/(-4027,12,-2655).lua
+++ b/Tyard/nodes/(-4027,12,-2655).lua
@@ -31,7 +31,7 @@ if F.yard_active() then
end
if this_dir == F.dir() then --train has bounced and is ready to classify wagon(s)
-- local pre_split = train_length()
- local lane = split_at_fc("A0B0",3) -- where to classify this rake
+ local lane = split_at_fc("A0B0",5) -- where to classify this rake
local locos = tonumber(F.get_rc_safe():match("TY_LOCOS_(%d+)")) or 1 --saved loco count
local wagons = tonumber(F.get_rc_safe():match("TY_WAGONS_(%d+)")) or 0 -- wagon_count from last classification split
local this_rake = train_length() - locos-- subtract these wagons from the overall wagon count