fix glichy bug

This commit is contained in:
Spmario233 2023-10-28 15:17:12 +08:00
parent 1aa712619d
commit 6b08d70dc2
1 changed files with 1 additions and 2 deletions

View File

@ -8398,7 +8398,6 @@
if(!that._selfDestroyed){ if(!that._selfDestroyed){
position.appendChild(that); position.appendChild(that);
} }
else that.remove();
that.classList.remove('removing'); that.classList.remove('removing');
delete that.destiny; delete that.destiny;
},time); },time);
@ -30051,7 +30050,7 @@
willBeDestroyed(targetPosition,player,event){ willBeDestroyed(targetPosition,player,event){
const destroyed=this.destroyed; const destroyed=this.destroyed;
if(typeof destroyed=='function'){ if(typeof destroyed=='function'){
return destroyed(card,targetPosition,player,event); return destroyed(this,targetPosition,player,event);
} }
else if(lib.skill[destroyed]){ else if(lib.skill[destroyed]){
if(player){ if(player){