Adjust auto move selector.
This commit is contained in:
parent
dfa1c9a5e5
commit
cc83ec117d
@ -1091,7 +1091,6 @@ const INTERFACE = {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
selection = Math.min(moves.length, selection + 1);
|
|
||||||
|
|
||||||
return moves[Math.floor(Math.random() * selection)];
|
return moves[Math.floor(Math.random() * selection)];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user