From 27cb34b5ca47f6afb7b7d089b919b03fd12608a9 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 17 Feb 2021 15:29:34 +0100 Subject: [PATCH] Hamilton: no postPlay/Undo --- client/src/variants/Hamilton.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/variants/Hamilton.js b/client/src/variants/Hamilton.js index 47af232a..f8669b7e 100644 --- a/client/src/variants/Hamilton.js +++ b/client/src/variants/Hamilton.js @@ -138,6 +138,9 @@ export class HamiltonRules extends ChessRules { for (let psq of move.appear) board[psq.x][psq.y] = psq.c + psq.p; } + postPlay() {} + postUndo() {} + getCheckSquares() { return []; } -- 2.44.0