Merge pull request #8058 from chhornung/fix-ceval-godeeper
Fix ceval 'go deeper' button analyzing a different position than the currently viewed onepull/7945/head
commit
acc2819eab
|
@ -163,7 +163,14 @@ export default function(opts: CevalOpts): CevalCtrl {
|
|||
const step = steps[steps.length - 1];
|
||||
|
||||
const existing = threatMode ? step.threat : step.ceval;
|
||||
if (existing && existing.depth >= maxD) return;
|
||||
if (existing && existing.depth >= maxD) {
|
||||
lastStarted = {
|
||||
path,
|
||||
steps,
|
||||
threatMode
|
||||
};
|
||||
return;
|
||||
}
|
||||
|
||||
const work: Work = {
|
||||
initialFen: steps[0].fen,
|
||||
|
|
Loading…
Reference in New Issue