Fix problem with previously added method that caused the generation of a challenge sudoku as the daily sudoku to be more, rather than less, likely
This commit is contained in:
parent
f2aa3460ff
commit
0f5ef95c01
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ public class QQWingController {
|
|||
generator.setRecordHistory(true);
|
||||
generator.generatePuzzle();
|
||||
|
||||
if (difficulty == GameDifficulty.Unspecified || difficulty == generator.getDifficulty()) {
|
||||
if (difficulty == GameDifficulty.Unspecified && generator.getDifficulty() != GameDifficulty.Challenge
|
||||
|| difficulty == generator.getDifficulty()) {
|
||||
havePuzzle = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue