diff --git a/game/game.js b/game/game.js index 651a3f456..5c3262462 100755 --- a/game/game.js +++ b/game/game.js @@ -20959,12 +20959,16 @@ button1.innerHTML='正在检查更新'; button1.disabled=true; - var goupdate=function(){ + var goupdate=function(files){ if(game.download){ var script=lib.init.js(lib.updateURL,'game/source',function(){ script.remove(); var updates=window.noname_source_list; delete window.noname_source_list; + if(Array.isArray(files)){ + files.add('game/update.js'); + updates=files; + } for(var i=0;i