【无尽副本】优化清除缓存第一次进入无尽副本时任务状态错误
parent
908cee1961
commit
5a66722aed
|
@ -153,7 +153,10 @@ function this.EnterMap()
|
|||
local note = PlayerPrefs.GetInt("WuJin"..PlayerManager.uid)
|
||||
MapManager.curMapId = EndLessMapManager.openMapId
|
||||
if serData.endTime ~= note then
|
||||
-- 首次登录不清除数据
|
||||
if note ~= 0 then
|
||||
TaskManager.ResetEndlessMissionState()
|
||||
end
|
||||
UIManager.OpenPanel(UIName.FormationPanelV2, FORMATION_TYPE.CARBON, MapManager.curMapId)
|
||||
else
|
||||
MapManager.curCarbonType = CarBonTypeId.ENDLESS
|
||||
|
|
Loading…
Reference in New Issue