projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve style
[vchess.git]
/
client
/
src
/
variants
/
Crazyhouse.js
diff --git
a/client/src/variants/Crazyhouse.js
b/client/src/variants/Crazyhouse.js
index
d7d82b8
..
24018d1
100644
(file)
--- 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];
}