This commit is contained in:
@@ -84,13 +84,13 @@ public class SudokuSelector {
|
||||
this.doku = doku;
|
||||
ImGui.openPopup("genProgress");
|
||||
this.genThread = new Thread(() -> {
|
||||
if (!empty) {
|
||||
try {
|
||||
try {
|
||||
if (!empty) {
|
||||
SudokuFactory.fillDoku(doku, Difficulty.values()[difficulty.get()]);
|
||||
this.onSelect.emit(this.doku);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
this.onSelect.emit(this.doku);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
this.genThread.start();
|
||||
|
||||
Reference in New Issue
Block a user