Fix SuctionChess, draft HiddenRules (unfinished)
[vchess.git] / client / src / variants / Recycle.js
index d99228c..50ccd74 100644 (file)
@@ -74,7 +74,7 @@ export const VariantRules = class RecycleRules extends ChessRules {
   }
 
   // Used by the interface:
-  getReservePpath(color, index) {
+  getReservePpath(index, color) {
     return color + V.RESERVE_PIECES[index];
   }