projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent playing on opponent's turn in Avalanche
[vchess.git]
/
client
/
src
/
variants
/
Wormhole1.js
diff --git
a/client/src/variants/Wormhole1.js
b/client/src/variants/Wormhole1.js
index
8219d28
..
1190111
100644
(file)
--- a/
client/src/variants/Wormhole1.js
+++ b/
client/src/variants/Wormhole1.js
@@
-90,7
+90,7
@@
export class Wormhole1Rules extends Wormhole2Rules {
return (
baseFen.substr(0, 8).split('').map(p => piecesMap[p]).join('') +
baseFen.substr(8, 27) +
- baseFen.substr(35,
43
).split('')
+ baseFen.substr(35,
8).toLowerCase(
).split('')
.map(p => piecesMap[p]).join('').toUpperCase() +
" w 0"
);