Fix SuctionChess, draft HiddenRules (unfinished)
[vchess.git] / client / src / variants / Crazyhouse.js
index d7d82b8..24018d1 100644 (file)
@@ -104,7 +104,7 @@ export const VariantRules = class CrazyhouseRules extends ChessRules {
   }
 
   // Used by the interface:
-  getReservePpath(color, index) {
+  getReservePpath(index, color) {
     return color + V.RESERVE_PIECES[index];
   }