projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Pacifist1 & 2
[vchess.git]
/
client
/
src
/
variants
/
Ball.js
diff --git
a/client/src/variants/Ball.js
b/client/src/variants/Ball.js
index
03a9b48
..
c9bdb33
100644
(file)
--- a/
client/src/variants/Ball.js
+++ b/
client/src/variants/Ball.js
@@
-362,6
+362,7
@@
export class BallRules extends ChessRules {
if (
m.vanish.length == 2 &&
m.vanish[1].p != 'a' &&
+ m.vanish[0].c != m.vanish[1].c &&
Object.keys(V.HAS_BALL_DECODE).includes(m.appear[0].p)
) {
const color = this.turn;