Revert "Revert "ignore #0 at ceval client level""
This reverts commit 603f5d9144
.
https://lichess.org/forum/lichess-feedback/mate-in-zero
pull/4318/head
parent
64fb5fe4e3
commit
8d2a08637c
|
@ -64,6 +64,9 @@ export default class Protocol {
|
|||
elapsedMs: number = parseInt(matches[7]),
|
||||
moves = matches[8].split(' ');
|
||||
|
||||
// Sometimes we get #0. Let's just skip it.
|
||||
if (isMate && !ev) return;
|
||||
|
||||
// Track max pv index to determine when pv prints are done.
|
||||
if (this.expectedPvs < multiPv) this.expectedPvs = multiPv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue