From 19e6ac752aa2e1840bfd16dd5c8f312078a3879a Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 15 Aug 2016 00:14:24 +0800 Subject: [PATCH] b --- game/game.js | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/game/game.js b/game/game.js index 2209e2ddf..91db3b3ac 100755 --- a/game/game.js +++ b/game/game.js @@ -37,6 +37,7 @@ window.indexedDB=null; } }()); + (function(){ var _status={ paused:false, @@ -3369,7 +3370,7 @@ game.saveConfig('confirmtouch',true); game.saveConfig('low_performance',true); game.saveConfig('confirm_exit',true); - if(lib.ipad){ + if(!lib.ipad){ game.saveConfig('layout','phone'); } } @@ -4396,8 +4397,7 @@ str=str.replace(/'step 0'|"step 0"/,'if(event.step=='+k+') {event.finish();return;}switch(step){case 0:'); } return (new Function('event','step','source','player','target','targets', - 'card','cards','skill','forced','num','trigger','result', - '_status','lib','game','ui','get','ai',str)); + 'card','cards','skill','forced','num','trigger','result',str)); }, eval:function(func){ if(typeof func=='function'){ @@ -10701,12 +10701,7 @@ clearEquipTrigger:function(){ var es=this.get('e'); for(var i=0;i