时间返回修改
parent
cb6e29076a
commit
93218d9e62
|
|
@ -160,7 +160,7 @@ function this.UpdateHeroData(id)
|
|||
--获取招募时间
|
||||
function this.GetHeroDataTime()
|
||||
if not this.HeroData or #this.HeroData < 1 then
|
||||
return nil
|
||||
return 0
|
||||
end
|
||||
for i,v in ipairs(this.HeroData) do
|
||||
if v.remainTime - PlayerManager.serverTime < 1 then
|
||||
|
|
@ -264,7 +264,7 @@ end
|
|||
--boss 剩余时间
|
||||
function this.GetMonsterDataReMainTimesAndTime()
|
||||
if not this.MonsterData or #this.MonsterData < 1 then
|
||||
return nil
|
||||
return 0
|
||||
end
|
||||
local removeData = {}
|
||||
for i,v in ipairs(this.MonsterData) do
|
||||
|
|
|
|||
Loading…
Reference in New Issue