X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FTitan.js;h=f8d626ebf0c86835b482d38cecd64f538ed389bc;hb=7c05a5f2297bea540c700ebceb0cc8b03a7f6775;hp=9e651b0da49823f155b04902bbe123632a414772;hpb=3208c66750e6a677b407267c44c35a395208c196;p=vchess.git diff --git a/client/src/variants/Titan.js b/client/src/variants/Titan.js index 9e651b0d..f8d626eb 100644 --- a/client/src/variants/Titan.js +++ b/client/src/variants/Titan.js @@ -185,7 +185,7 @@ export class TitanRules extends ChessRules { return moves; } - hoverHighlight(x, y) { + hoverHighlight([x, y]) { const c = this.turn; return ( this.movesCount <= 3 &&