projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Rococo
[vchess.git]
/
client
/
src
/
variants
/
Xiangqi.js
diff --git
a/client/src/variants/Xiangqi.js
b/client/src/variants/Xiangqi.js
index
b302433
..
6215ea9
100644
(file)
--- a/
client/src/variants/Xiangqi.js
+++ b/
client/src/variants/Xiangqi.js
@@
-395,7
+395,7
@@
export class XiangqiRules extends ChessRules {
getNotation(move) {
let notation = super.getNotation(move);
if (move.vanish.length == 2 && move.vanish[0].p == V.PAWN)
getNotation(move) {
let notation = super.getNotation(move);
if (move.vanish.length == 2 && move.vanish[0].p == V.PAWN)
- notation = "P" +
substr(notation,
1);
+ notation = "P" +
notation.substr(
1);
return notation;
}
return notation;
}