From e7cb433fafb1aa8dc83dabd4286332e808a544e3 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sat, 9 Jan 2021 22:39:08 +0100
Subject: [PATCH] Fix typo

---
 client/src/variants/Dobutsu.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/variants/Dobutsu.js b/client/src/variants/Dobutsu.js
index 4d151c3d..60d0017d 100644
--- a/client/src/variants/Dobutsu.js
+++ b/client/src/variants/Dobutsu.js
@@ -199,7 +199,7 @@ export class DobutsuRules extends ChessRules {
     }
   }
 
-  getPotentialHenMoves([x, y]) {
+  getPotentialHenMoves(sq) {
     const c = this.turn;
     const forward = (c == 'w' ? -1 : 1);
     const steps = V.steps[V.ROOK].concat([[forward, 1], [forward, -1]]);
-- 
2.44.0