Closed bsaffel closed 9 years ago
A fix could simply be to add a check to see if the previous step is satisfied AND the current step contains the same unit type. If so, do not increment previous step, simply evaluate against the current step.
Here is an example of this in action.
There also may be a bug here. That timer really shouldn't be evaluating at all if the unit was checked against the previous step.
This is actually because the previous step is being evaluated again even though it is complete, but the next step appears to be the one that is failing because that is what the cursors were on as the previous step is being evaluated.
There is an odd edge case bug during build order evaluation where if two of the same unit are back to back, but in the followup build you build them within 15 seconds of each other, only the first step is completed, and then the second unit just increments the number, it does not actually complete the second step