X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FCrazyhouse.js;h=24018d14f6246903948a58db45b2c56ac7f67127;hb=241bf8f2a9a2c48d793aeb0b1d20207f6371de70;hp=d7d82b8c48d36e78f34592c024c1f0cad9bc642b;hpb=31e9e40ad45faba38612982cfb1d6bdfd98ae20f;p=vchess.git diff --git a/client/src/variants/Crazyhouse.js b/client/src/variants/Crazyhouse.js index d7d82b8c..24018d14 100644 --- a/client/src/variants/Crazyhouse.js +++ b/client/src/variants/Crazyhouse.js @@ -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]; }