From 2c8db540b56152aba31df6bf3c8f76eaa653967f Mon Sep 17 00:00:00 2001 From: kuangthree Date: Tue, 23 Jan 2024 20:46:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=E5=8D=9A=E8=A7=88=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E4=B8=8D=E5=9C=A8lib.character=E4=B8=AD=E7=9A=84=E5=9B=BD?= =?UTF-8?q?=E6=88=98=E8=A7=92=E8=89=B2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/yingbian.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/character/yingbian.js b/character/yingbian.js index 571bcaf8d..537f62aa7 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -1623,7 +1623,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list,skills=[]; if(get.mode()=='guozhan'){ 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 {