Skip to content

Commit

Permalink
Move made final in GamePanel::moveSelectedPiece() so that Java thread…
Browse files Browse the repository at this point in the history
… won't complain
  • Loading branch information
Aaron committed Apr 29, 2016
1 parent cdf6293 commit 7525979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/GamePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void movePiece(Move move) {
public void moveSelectedPiece() {

/* Create the move */
Move move = new Move(moveSource.getCellLocation(), moveDestination.getCellLocation());
final Move move = new Move(moveSource.getCellLocation(), moveDestination.getCellLocation());

/* Get rid of valid destination options */
dehighlightValidDestinations();
Expand Down

0 comments on commit 7525979

Please sign in to comment.