Merge branch 'libccy:PR-Branch' into PR-Branch

This commit is contained in:
157 2023-10-28 15:29:57 +08:00 committed by GitHub
commit e751bfa44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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){