Add Gomoku + Atarigo
[vchess.git] / client / src / variants / Bario.js
index 21965e1..fcdb44d 100644 (file)
@@ -35,7 +35,7 @@ export class BarioRules extends ChessRules {
     );
   }
 
-  hoverHighlight(x, y) {
+  hoverHighlight([x, y]) {
     const c = this.turn;
     return (
       this.movesCount <= 1 &&