This commit is contained in:
libccy 2016-04-22 15:37:06 +08:00
parent d64662dea3
commit 2f15643b6d
2 changed files with 20 additions and 16 deletions

View File

@ -22013,6 +22013,10 @@
}
if(!lib.config.asset_version){
setTimeout(function(){
if(!game.download){
game.saveConfig('asset_version','无');
}
else{
var func=function(){
if(confirm('是否下载图片和音频素材约100MB')){
if(!ui.arena.classList.contains('menupaused')){
@ -22031,6 +22035,7 @@
else{
func();
}
}
},4000);
}
clearTimeout(window.resetGameTimeout);

View File

@ -49,7 +49,6 @@ mode.chess={
game.finishCards();
ui.chessContainer=ui.create.div('#chess-container',ui.arena);
lib.setScroll(ui.chessContainer);
ui.chessContainer.style.WebkitOverflowScrolling='touch';
ui.chess=ui.create.div('#chess',ui.chessContainer);
ui.canvas2=document.createElement('canvas');
ui.canvas2.id='canvas2';