diff --git a/game/game.js b/game/game.js index 91db3b3ac..2209e2ddf 100755 --- a/game/game.js +++ b/game/game.js @@ -37,7 +37,6 @@ window.indexedDB=null; } }()); - (function(){ var _status={ paused:false, @@ -3370,7 +3369,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'); } } @@ -4397,7 +4396,8 @@ 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',str)); + 'card','cards','skill','forced','num','trigger','result', + '_status','lib','game','ui','get','ai',str)); }, eval:function(func){ if(typeof func=='function'){ @@ -10701,7 +10701,12 @@ clearEquipTrigger:function(){ var es=this.get('e'); for(var i=0;i