修复单挑模式_status.mode赋值过晚导致部分借助_status.mode的内容无法加载成功的bug
This commit is contained in:
parent
15b4de7892
commit
1ff0d115a3
|
@ -143,6 +143,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
start:function(){
|
||||
"step 0"
|
||||
_status.mode=_status.connectMode?lib.configOL.single_mode:get.config('single_mode');
|
||||
var playback=localStorage.getItem(lib.configprefix+'playback');
|
||||
if(playback){
|
||||
ui.create.me();
|
||||
|
@ -172,7 +173,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
});
|
||||
}
|
||||
"step 2"
|
||||
_status.mode=_status.connectMode?lib.configOL.single_mode:get.config('single_mode');
|
||||
if(_status.mode=='normal'){
|
||||
lib.card.list=lib.singlePile.slice(0);
|
||||
game.fixedPile=true;
|
||||
|
|
Loading…
Reference in New Issue