fix a bug.

This commit is contained in:
Rintim 2023-09-19 22:59:20 +08:00
parent 6be1fa5dcb
commit bdd031223f
1 changed files with 1 additions and 1 deletions

View File

@ -24749,7 +24749,7 @@
return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value);
},
updateStorage:function(name,operation){
operation(this.getStorage(name));
this.setStorage(name,operation(this.getStorage(name)));
return this.getStorage(name);
},
markSkill:function(name,info,card){