Skip to content

Commit

Permalink
Fix not being able to analyze games that are in stalling score estima…
Browse files Browse the repository at this point in the history
…te mode
  • Loading branch information
anoek committed Jun 25, 2024
1 parent a55b453 commit ceacedf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Goban/InteractiveBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,10 @@ export abstract class GobanInteractive extends GobanBase {
return false;
}

if (mode === "analyze" && this.scoring_mode === "stalling-scoring-mode") {
this.scoring_mode = false;
}

if (
this.engine.config.disable_analysis &&
this.engine.phase !== "finished" &&
Expand Down

0 comments on commit ceacedf

Please sign in to comment.