From e85bddc13ff00ef1fc13f33795ad7a2293c2f08d Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Thu, 18 Feb 2021 13:36:19 +0100
Subject: [PATCH] Fix Pandemonium drop

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

diff --git a/client/src/variants/Pandemonium.js b/client/src/variants/Pandemonium.js
index d585d4f7..496e2870 100644
--- a/client/src/variants/Pandemonium.js
+++ b/client/src/variants/Pandemonium.js
@@ -329,7 +329,7 @@ export class PandemoniumRules extends ChessRules {
       return [];
     }
     // Normal move (after initial setup)
-    if (x >= V.size.x) return this.getReserveMoves(x, y);
+    if (x >= V.size.x) return this.getReserveMoves([x, y]);
     const p = this.getPiece(x, y);
     const sq = [x, y];
     let moves = [];
-- 
2.44.0