diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua index cd5f902d1e..3de965fb36 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua @@ -382,7 +382,16 @@ function CarbonsPanel:BtnClick(id) elseif id == FUNCTION_OPEN_TYPE.FIGHTLEVEL then if ActTimeCtrlManager.SingleFuncState(id) then FightLevelManager.curSelect = 0 - UIManager.OpenPanel(UIName.FightLevelChapterPanel) + local time=PlayerPrefs.GetInt(PlayerManager.uid.."openFightLevelTime") + if time==0 then + NetManager.HardStageRequest(function() + UIManager.OpenPanel(UIName.FightLevelChapterPanel) + end) + else + UIManager.OpenPanel(UIName.FightLevelChapterPanel) + end + + else PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(id)) end diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua index c5e54aa9fb..6aa618cdc5 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelChapterPanel.lua @@ -84,6 +84,7 @@ function FightLevelChapterPanel:OnOpen() -- LogYellow(bit.band(2,3)) -- LogYellow(bit.band(4,3)) -- SoundManager.PlaySound(SoundConfig.Sound_WorldMap) + PlayerPrefs.SetInt(PlayerManager.uid.."openFightLevelTime",1) this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main }) -- SoundManager.PlayMusic(SoundConfig.BGM_Main) end