Merge pull request #846 from universe-st/PR-Branch
fix博览检查不在lib.character中的国战角色的问题
This commit is contained in:
commit
393412271a
|
@ -1623,7 +1623,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
var list,skills=[];
|
var list,skills=[];
|
||||||
if(get.mode()=='guozhan'){
|
if(get.mode()=='guozhan'){
|
||||||
list=[];
|
list=[];
|
||||||
for(var i in lib.characterPack.mode_guozhan) list.push(i);
|
for(var i in lib.characterPack.mode_guozhan){
|
||||||
|
if(lib.character[i])list.push(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(_status.connectMode) list=get.charactersOL();
|
else if(_status.connectMode) list=get.charactersOL();
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue