From ae5cee9c2cf78dc81ec83ce8ed0f13a9e6faa625 Mon Sep 17 00:00:00 2001 From: libccy Date: Sun, 15 May 2016 11:06:12 +0800 Subject: [PATCH] u --- game/game.js | 18 +++++++++++++++--- game/update.js | 8 ++++++-- mode/connect.js | 7 ------- 3 files changed, 21 insertions(+), 12 deletions(-) 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