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