From 2d9c40f41ca1a6aa297b3259c58db23ccf348144 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Sat, 28 Oct 2023 01:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E6=AF=81=E6=9C=BA=E5=88=B6bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/game/game.js b/game/game.js index 8fc606b38..e64b07a06 100644 --- a/game/game.js +++ b/game/game.js @@ -19632,6 +19632,11 @@ cards.splice(i--,1); continue; } + else if(event.getlx!==false&&cards[i].willBeDestroyed(event.position.id,null,event)){ + cards[i].delete(); + cards.splice(i--,1); + continue; + } else if(cards[i].parentNode){ if(cards[i].parentNode.classList.contains('equips')){ cards[i].original='e';