We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8282edc commit 9fe9c6dCopy full SHA for 9fe9c6d
src/games/emu.ts
@@ -420,6 +420,8 @@ export class EmuGame extends GameBase {
420
public results: Array<APMoveResult> = [];
421
private deck!: Deck;
422
private selected: string|undefined;
423
+ // @ts-expect-error (This is only read by the frontend code)
424
+ private __noAutomove?: boolean;
425
426
public static readonly BOARD_UNIT_DIMENSIONS = 50; // 48.61114501953125;
427
@@ -884,7 +886,12 @@ export class EmuGame extends GameBase {
884
886
}
885
887
888
- if (partial || emulation ) { return this; }
889
+ if (partial || emulation ) {
890
+ if (emulation) {
891
+ this.__noAutomove = true;
892
+ }
893
+ return this;
894
895
896
this.lastmove = m;
897
// update currplayer
0 commit comments