modify logic.

This commit is contained in:
Rintim 2023-10-04 18:21:34 +08:00
parent e5eb79ca2e
commit 6b41bae90d
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 2 additions and 2 deletions

View File

@ -25729,11 +25729,11 @@
},
removeStorage:function(name,mark){
if(!this.hasStorage(name)) return false;
delete this.storage[name]
if(mark){
this.unmarkSkill(name);
return true;
}
return delete this.storage[name];
return true;
},
markSkill:function(name,info,card){
if(info===true){