projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo in Sittuyin variant
[vchess.git]
/
client
/
src
/
variants
/
Sittuyin.js
diff --git
a/client/src/variants/Sittuyin.js
b/client/src/variants/Sittuyin.js
index
322439d
..
ccdd7b2
100644
(file)
--- a/
client/src/variants/Sittuyin.js
+++ b/
client/src/variants/Sittuyin.js
@@
-316,7
+316,7
@@
export class SittuyinRules extends ChessRules {
const initSquare =
V.CoordsToSquare({ x: move.vanish[0].x, y: move.vanish[0].y })
const destSquare =
const initSquare =
V.CoordsToSquare({ x: move.vanish[0].x, y: move.vanish[0].y })
const destSquare =
- V.CoordsToSquare({ x: move.
vanish[0].x, y: move.vanish
[0].y })
+ V.CoordsToSquare({ x: move.
appear[0].x, y: move.appear
[0].y })
const prefix = (initSquare != destSquare ? initSquare : "");
return prefix + destSquare + "=Q";
}
const prefix = (initSquare != destSquare ? initSquare : "");
return prefix + destSquare + "=Q";
}