Skip to content

Commit

Permalink
Fix: Engine number in menu was not updated for preloaded engines
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Jul 8, 2021
1 parent ebeb446 commit f99b16e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/featurecat/lizzie/analysis/EngineManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ public void switchEngine(int index) {
}
Lizzie.board.restoreMoveNumber();
this.currentEngineNo = index;
if (curEng.preload && newEng.preload) {
updateEngineIcon();
}
if (!curEng.preload) {
curEng.normalQuit();
}
Expand Down

0 comments on commit f99b16e

Please sign in to comment.