From 6b08d70dc2ae70ea3100fffe0515b2465e1ccee2 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Sat, 28 Oct 2023 15:17:12 +0800 Subject: [PATCH] fix glichy bug --- game/game.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index e8c907383..0f0079a0a 100644 --- a/game/game.js +++ b/game/game.js @@ -8398,7 +8398,6 @@ if(!that._selfDestroyed){ position.appendChild(that); } - else that.remove(); that.classList.remove('removing'); delete that.destiny; },time); @@ -30051,7 +30050,7 @@ willBeDestroyed(targetPosition,player,event){ const destroyed=this.destroyed; if(typeof destroyed=='function'){ - return destroyed(card,targetPosition,player,event); + return destroyed(this,targetPosition,player,event); } else if(lib.skill[destroyed]){ if(player){