Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Jan 5, 2021
2 parents 06dfdaa + 44a173c commit aaa4dae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/featurecat/lizzie/rules/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,10 @@ public void toggleAnalysis() {
Lizzie.leelaz.removeListener(this);
analysisMode = false;
} else {
if (!getNextMove().isPresent()) return;
if (!getNextMove().isPresent()) {
JOptionPane.showMessageDialog(null, "No next move.");
return;
}
String answer =
JOptionPane.showInputDialog(
"# playouts for analysis (e.g. 100 (fast) or 50000 (slow)): ");
Expand Down

0 comments on commit aaa4dae

Please sign in to comment.