v1.9.22.2

This commit is contained in:
libccy 2017-04-11 00:28:57 +08:00
parent 5c37e25c46
commit af871e353a
1 changed files with 8 additions and 0 deletions

View File

@ -31256,7 +31256,15 @@
},function(){
onprogress(-1);
_status.importingExtension=true;
var removegame=false;
if(window.game!=game){
window.game=game;
removegame=true;
}
lib.init.js(lib.assetURL+'extension/'+that.info.name,'extension',function(){
if(removegame){
delete window.game;
}
if(game.importedPack){
var extname=game.importedPack.name;
if(lib.config.extensions.contains(extname)){