Skip to content

Commit

Permalink
also check for __touched
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Dec 13, 2021
1 parent 2e62566 commit f490e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/50_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const table_prototype = {
return this.eval;
} else {
let info = SortedMoveInfoFromTable(this)[0];
if (info && !info.__ghost) {
if (info && !info.__ghost && info.__touched) {
this.eval = info.board.active === "w" ? info.value() : 1 - info.value();
} else {
this.eval = null;
Expand Down

0 comments on commit f490e18

Please sign in to comment.