Merge pull request #478 from universe-st/PR-Branch
修复在移动端偶尔出现的,只开启标准包情况下,chooseCharacter时切换身份时弹窗的bug
This commit is contained in:
commit
5f6cbbd0c4
|
@ -1441,7 +1441,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
return list2.randomGets(num).sort(lib.sort.character);
|
||||
}
|
||||
var getGroup=function(name){
|
||||
if(lib.characterReplace[name]) return lib.character[lib.characterReplace[name][0]][1];
|
||||
var characterReplace = lib.characterReplace[name];
|
||||
if(characterReplace && characterReplace[0] && lib.character[characterReplace[0]]) return lib.character[characterReplace[0]][1];
|
||||
return lib.character[name][1];
|
||||
}
|
||||
var list2x=list2.slice(0);
|
||||
|
|
Loading…
Reference in New Issue