Merge pull request #2403 from hea3ven/6.3.x

fix gate iteration when the "actions" are different than the "active act...
This commit is contained in:
Adrian Siekierka 2015-01-22 12:54:28 +01:00
commit ad4742f4ad

View file

@ -77,9 +77,7 @@ public class ActionIterator implements Iterable<StatementSlot> {
}
if (isValid()) {
next = new StatementSlot();
next.statement = pipe.gates[curDir.ordinal()].actions[index];
next.parameters = pipe.gates[curDir.ordinal()].actionParameters[index];
next = pipe.gates[curDir.ordinal()].activeActions.get(index);
} else {
next = null;
}