new feature on clicking tiles: actions of tile now skipped, when shift is pressed during click
This commit is contained in:
@@ -34,9 +34,9 @@ public abstract class Decoupler extends Tile implements Device{
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object click() throws IOException {
|
||||
Object o = super.click();
|
||||
engage();
|
||||
public Object click(boolean shift) throws IOException {
|
||||
Object o = super.click(shift);
|
||||
if (!shift) engage();
|
||||
return o;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user