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:
commit
ad4742f4ad
1 changed files with 1 additions and 3 deletions
|
@ -77,9 +77,7 @@ public class ActionIterator implements Iterable<StatementSlot> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isValid()) {
|
if (isValid()) {
|
||||||
next = new StatementSlot();
|
next = pipe.gates[curDir.ordinal()].activeActions.get(index);
|
||||||
next.statement = pipe.gates[curDir.ordinal()].actions[index];
|
|
||||||
next.parameters = pipe.gates[curDir.ordinal()].actionParameters[index];
|
|
||||||
} else {
|
} else {
|
||||||
next = null;
|
next = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue