This commit is contained in:
libccy 2017-03-27 13:19:23 +08:00
parent fa09433e09
commit c2c6f96de7
1 changed files with 41 additions and 38 deletions

View File

@ -5583,9 +5583,6 @@
else if(e.keyCode==74&&(e.ctrlKey||e.metaKey)&&lib.node){
lib.node.debug();
}
// else if(e.keyCode==27){
// if(!ui.arena.classList.contains('paused')) ui.click.configMenu();
// }
}
else{
game.closePopped();
@ -33758,6 +33755,7 @@
},3000);
}
if(!lib.config.asset_version){
lib.onfree.push(function(){
setTimeout(function(){
if(!game.download){
game.saveConfig('asset_version','无');
@ -33782,7 +33780,8 @@
func();
}
}
},4000);
},3000);
});
}
clearTimeout(window.resetGameTimeout);
delete window.resetGameTimeout;
@ -34637,11 +34636,13 @@
ui.click.shortcut();
break;
case 'menu':
if(ui.click.configMenu){
game.closePopped();
game.pause2();
ui.click.configMenu();
ui.system1.classList.remove('shown');
ui.system2.classList.remove('shown');
}
break;
case 'pause':
ui.click.pause();
@ -35337,11 +35338,13 @@
ui.click.shortcut();
break;
case 'menu':
if(ui.click.configMenu){
game.closePopped();
game.pause2();
ui.click.configMenu();
ui.system1.classList.remove('shown');
ui.system2.classList.remove('shown');
}
break;
case 'pause':
ui.click.pause();