fix:初始化时,不点击boss,挑战模式“神将”按钮不显示

This commit is contained in:
lieren2023 2024-03-08 08:56:03 +08:00 committed by GitHub
parent c008aae009
commit aaa7e66ba7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.current=null; event.current=null;
var list=[]; var list=[];
if(lib.storage.current==undefined) lib.storage.current='boss_hundun';
for(var i in lib.character){ for(var i in lib.character){
var info=lib.character[i]; var info=lib.character[i];
if(info[4].includes('boss')){ if(info[4].includes('boss')){