fix glichy bug
This commit is contained in:
parent
1aa712619d
commit
6b08d70dc2
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue