[0.17.69] Train stop connected circuit delay

Things that has been reported already before.
Post Reply
RadioDoc
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Sep 26, 2019 8:42 pm
Contact:

[0.17.69] Train stop connected circuit delay

Post by RadioDoc »

Version 0.17.69, no mods. I have a train stop set up with a circuit connected to two inserters. I'm trying to limit how many items this train is carrying, so the enable condition on both arms is set to [item]<200. The issue is that when the train shows up, both arms cycle once before being disabled by the Read Train Contents. So now my train has close to 2k items in it when it should only have 400 total. Am I doing something wrong or is there a legit bug in how the behavior is working here?


User avatar
MasterBuilder
Filter Inserter
Filter Inserter
Posts: 348
Joined: Sun Nov 23, 2014 1:22 am
Contact:

Re: [0.17.69] Train stop connected circuit delay

Post by MasterBuilder »

There's essentially, a one tick delay between the train arriving and the contents being read by other things on the network. (It's more a read/write order issue, but other threads have more.)

Here's another 'Not a Bug' thread about it: viewtopic.php?f=23&t=62249
It describes a train leaving too soon, but he reason is the same. The train contents are not available till the second tick.
Give a man fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.

Post Reply

Return to “Duplicates”