projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another typo... getting late
[vchess.git]
/
client
/
src
/
variants
/
Recycle.js
diff --git
a/client/src/variants/Recycle.js
b/client/src/variants/Recycle.js
index
d23a78c
..
eb84044
100644
(file)
--- a/
client/src/variants/Recycle.js
+++ b/
client/src/variants/Recycle.js
@@
-2,6
+2,7
@@
import { ChessRules, PiPo, Move } from "@/base_rules";
import { ArrayFun } from "@/utils/array";
export class RecycleRules extends ChessRules {
import { ArrayFun } from "@/utils/array";
export class RecycleRules extends ChessRules {
+
static get PawnSpecs() {
return Object.assign(
{},
static get PawnSpecs() {
return Object.assign(
{},
@@
-227,4
+228,5
@@
export class RecycleRules extends ChessRules {
move.appear[0].p != V.PAWN ? move.appear[0].p.toUpperCase() : "";
return piece + "@" + V.CoordsToSquare(move.end);
}
move.appear[0].p != V.PAWN ? move.appear[0].p.toUpperCase() : "";
return piece + "@" + V.CoordsToSquare(move.end);
}
+
};
};