This commit is contained in:
parent
cb3d9284af
commit
8060fd7150
|
@ -2946,6 +2946,14 @@
|
|||
delete window.music;
|
||||
delete window.font;
|
||||
|
||||
if(!lib.config.totouched&&(lib.device=='ios'||lib.device=='android')){
|
||||
game.saveConfig('totouched',true);
|
||||
game.saveConfig('touchscreen',true);
|
||||
game.saveConfig('low_performance',true);
|
||||
game.saveConfig('layout','phone');
|
||||
game.saveConfig('confirm_exit',true);
|
||||
}
|
||||
|
||||
if(lib.config.extensions.length){
|
||||
window.resetExtension=function(){
|
||||
for(var i=0;i<lib.config.extensions.length;i++){
|
||||
|
|
Loading…
Reference in New Issue