From 92d9d4a413689ed93def2bd953a405df70cf166b Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Wed, 2 Aug 2023 15:44:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=B1=E6=B2=B3=E8=AE=BE=E8=AE=A1=E5=9B=BE?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/FightLevel/FightLevelChapterPanel.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua index 54571cdb99..363e040dcd 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua @@ -100,8 +100,8 @@ end function this.OnShowPanel() local curTime=GetTimeStamp() local hint - local maxChapterId=0 - local day=0 + local maxChapterId=4 + local day=-1 local allChapterId=0 for _, config in ConfigPairs(chapterConfig) do @@ -112,10 +112,11 @@ function this.OnShowPanel() day=config.OpenTime-1 maxChapterId=config.Id end - allChapterId=config.Id + --maxChapterId=config.Id --end end + allChapterId=config.Id end this.hintTxt.text=hint SoundManager.PlayMusic(SoundConfig.BGM_Main)