Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 1, 2025
1 parent f0d7f5d commit 4144aed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ui/analyse/src/ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -946,13 +946,13 @@ export default class AnalyseCtrl {
this.evalCache = new EvalCache({
variant: this.data.game.variant.key,
canGet: this.canEvalGet,
canPut: () => true,
// !!(
// this.ceval?.isCacheable &&
// this.canEvalGet() &&
// // if not in study, only put decent opening moves
// (this.opts.study || (!this.node.ceval!.mate && Math.abs(this.node.ceval!.cp!) < 99))
// ),
canPut: () =>
!!(
this.ceval?.isCacheable &&
this.canEvalGet() &&
// if not in study, only put decent opening moves
(this.opts.study || (!this.node.ceval!.mate && Math.abs(this.node.ceval!.cp!) < 99))
),
getNode: () => this.node,
send: this.opts.socketSend,
receive: this.onNewCeval,
Expand Down

0 comments on commit 4144aed

Please sign in to comment.