Merge pull request #1040 from lieren2023/lieren2023-patch-1

fix:初始化时,不点击boss,挑战模式“神将”按钮不显示
This commit is contained in:
Spmario233 2024-03-08 23:10:39 +08:00 committed by GitHub
commit 4648466f9b
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;
var list=[];
if(lib.storage.current==undefined) lib.storage.current='boss_hundun';
for(var i in lib.character){
var info=lib.character[i];
if(info[4].includes('boss')){