时间返回修改

jiaoyangna 2020-10-17 13:37:54 +08:00
parent cb6e29076a
commit 93218d9e62
1 changed files with 2 additions and 2 deletions

View File

@ -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