From 7d130339f2def00d84bfd6f6641d4cd91e9ec47f Mon Sep 17 00:00:00 2001 From: Rintim Date: Sun, 10 Sep 2023 21:21:16 +0800 Subject: [PATCH] bugfix. --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index 11e1c67c1..3182ccabf 100644 --- a/game/game.js +++ b/game/game.js @@ -8439,7 +8439,7 @@ continue; } lib.init.js(lib.assetURL+'extension/'+extensionlist[i],'extension',extLoaded,(function(i){ - return function(){ + return gnc.async(function*(){ game.removeExtension(i); --extToLoad; if(extToLoad==0){ @@ -8447,7 +8447,7 @@ delete _status.extensionLoading; loadPack(); } - } + }); }(extensionlist[i]))); } }