From 20bbcc2b203a13e08532207f65ec44cb0033edd4 Mon Sep 17 00:00:00 2001 From: Rintim Date: Wed, 4 Oct 2023 21:09:48 +0800 Subject: [PATCH] add unnoticed. --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index d4e8bd61c..8ee71102c 100644 --- a/game/game.js +++ b/game/game.js @@ -25716,8 +25716,8 @@ if (!Array.isArray(storage)) return false; return values.every(item => storage.contains(item)); }, - initStorage:function(name,value){ - return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value); + initStorage:function(name,value,mark){ + return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value,mark); }, updateStorage:function(name,operation,mark){ return this.setStorage(name,operation(this.getStorage(name)),mark);