From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sat, 9 Jan 2021 21:39:08 +0000 (+0100)
Subject: Fix typo
X-Git-Url: https://git.auder.net/variants/Baroque/complete_rules.html?a=commitdiff_plain;h=e7cb433fafb1aa8dc83dabd4286332e808a544e3;p=vchess.git

Fix typo
---

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]]);