【无尽副本】未激活五星神将或未选择五星神将不允许进入地图

dev_chengFeng
jiaoyangna 2021-06-01 17:10:07 +08:00
parent c4c0cb5a69
commit 32750ffa34
2 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,6 @@ function this.EnterMap()
local note = PlayerPrefs.GetInt("WuJin"..PlayerManager.uid)
MapManager.curMapId = EndLessMapManager.openMapId
if serData.endTime ~= note then
PlayerPrefs.SetInt("WuJin"..PlayerManager.uid,serData.endTime)
UIManager.OpenPanel(UIName.FormationPanelV2, FORMATION_TYPE.CARBON, MapManager.curMapId)
else
MapManager.curCarbonType = CarBonTypeId.ENDLESS

View File

@ -322,6 +322,8 @@ function EndLessMapView:OnOpen()
-- 初始化组件显示
this:InitCompShow(CarbonManager.difficulty)
if not this:IsEndLessMap() then return end
local serData = ActTimeCtrlManager.GetSerDataByTypeId(FUNCTION_OPEN_TYPE.ENDLESS)
PlayerPrefs.SetInt("WuJin"..PlayerManager.uid,serData.endTime)
-- 初始化各种标志的状态
this:InitBoolState()
-- 开始探索请求