From d9ca869c81e76d5ae9006b5556a6021363116f7e Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Thu, 19 Oct 2023 21:58:13 +0800 Subject: [PATCH] fix some const --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index 3b6f3af9e..0a9fbef63 100644 --- a/game/game.js +++ b/game/game.js @@ -35472,7 +35472,7 @@ }, hasAllGlobalHistory:function(key,filter,last){ if(!key||!filter) return; - const stopped=false; + let stopped=false; _status.globalHistory.forEach(value=>{ if(value[key]){ if(last&&value[key].includes(last)&&!stopped){ @@ -35491,7 +35491,7 @@ }, checkAllGlobalHistory:function(key,filter,last){ if(!key||!filter) return; - const stopped=false; + let stopped=false; _status.globalHistory.forEach(value=>{ if(value[key]){ if(last&&value[key].includes(last)&&!stopped){