Updated again
This commit is contained in:
parent
14f88abd3d
commit
82ec202ad3
|
|
@ -196,7 +196,7 @@ public class Board {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// Only move the piece if the destination is valid
|
||||
if (isValidMove) {
|
||||
movePiece(selectedX, selectedY, x, y);
|
||||
|
|
@ -225,6 +225,7 @@ public class Board {
|
|||
this.selectedPosition = null;
|
||||
highlightedPositions.clear();//Clear after move
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue