fix direction parameters choosing the wrong directions, fix #2454
This commit is contained in:
parent
b705d6242d
commit
c9cd166d2a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public class StatementParameterDirection implements IStatementParameter {
|
|||
if (source.getTile() instanceof TileGenericPipe) {
|
||||
do {
|
||||
direction = ForgeDirection.getOrientation((direction.ordinal() + (mouse.getButton() > 0 ? -1 : 1)) % 6);
|
||||
} while (((TileGenericPipe) source.getTile()).isPipeConnected(direction));
|
||||
} while (!((TileGenericPipe) source.getTile()).isPipeConnected(direction));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue