From 730dded583e64900589cb978a7b97fc49052e119 Mon Sep 17 00:00:00 2001 From: kuangthree Date: Sun, 29 Oct 2023 15:49:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=E8=AE=A8=E9=80=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/boss.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mode/boss.js b/mode/boss.js index 0a6ee44b2..7ea96ab0a 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -8823,14 +8823,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } return false; } - var keysArray=["length","players","player","element"]; + var keysArray=["length","players","Player","element"]; for(var i=0;i Date: Sun, 29 Oct 2023 19:32:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B8=AEshijian=20PR=E7=9A=84,fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 326fd076c..78f3f2063 100644 --- a/game/game.js +++ b/game/game.js @@ -11037,7 +11037,7 @@ return; } if(Array.isArray(file)){ - return file.forEach(value=>lib.init.js(path,value,onLoad,onError)); + return file.forEach(value=>lib.init.jsSync(path,value,onLoad,onError)); } let scriptSource; if(!file) scriptSource=path;