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){
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){