parent
8b187bfd5f
commit
b395550303
|
@ -155,6 +155,7 @@ function this.EnterMap()
|
|||
local note = PlayerPrefs.GetInt("WuJin"..PlayerManager.uid)
|
||||
MapManager.curMapId = EndLessMapManager.openMapId
|
||||
if serData.endTime ~= note then
|
||||
TaskManager.ResetEndlessMissionState()
|
||||
UIManager.OpenPanel(UIName.FormationPanelV2, FORMATION_TYPE.CARBON, MapManager.curMapId)
|
||||
else
|
||||
MapManager.curCarbonType = CarBonTypeId.ENDLESS
|
||||
|
|
|
@ -482,4 +482,11 @@ end
|
|||
function this.DelAllShowTipMissionOne()
|
||||
table.remove(allShowTipMission,1)
|
||||
end
|
||||
|
||||
function this.ResetEndlessMissionState()
|
||||
for k,v in ipairs(TypeTaskData[TaskTypeDef.wujinfuben]) do
|
||||
v.progress = 0
|
||||
v.state = 0
|
||||
end
|
||||
end
|
||||
return this
|
Loading…
Reference in New Issue