projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Experimental loss on repetition for Shogi and Pandemonium. Simplify Crazyhouse, with...
[vchess.git]
/
client
/
src
/
variants
/
Spartan.js
diff --git
a/client/src/variants/Spartan.js
b/client/src/variants/Spartan.js
index
3b4fc77
..
acab8ad
100644
(file)
--- a/
client/src/variants/Spartan.js
+++ b/
client/src/variants/Spartan.js
@@
-12,8
+12,7
@@
export class SpartanRules extends ChessRules {
}
getPpath(b) {
- if ([V.LIEUTENANT, V.GENERAL, V.CAPTAIN, V.WARLORD].includes(b[1]))
- return "Spartan/" + b;
+ if (b[0] == 'b' && b[1] != 'k') return "Spartan/" + b;
return b;
}