From b1fea144e72b3bce1a2d2c630618805eb45424b4 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Thu, 23 Apr 2020 13:53:15 +0200
Subject: [PATCH] Fix

---
 client/src/variants/Ball.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/client/src/variants/Ball.js b/client/src/variants/Ball.js
index 03a9b483..c9bdb339 100644
--- 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;
-- 
2.44.0