"info" exception 修复
parent
a2635081af
commit
c03e9336bc
|
@ -1303,8 +1303,9 @@ function this.TimeFormat()
|
|||
end
|
||||
|
||||
--轮转活动,乾坤宝盒
|
||||
local info= ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FindFairy)
|
||||
if info then
|
||||
local dynamicAct = not not ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FindFairy)
|
||||
if dynamicAct then
|
||||
local info = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FindFairy)
|
||||
info = info.endTime - PlayerManager.serverTime
|
||||
info = math.floor(info/86400)
|
||||
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FindFairy) then
|
||||
|
|
Loading…
Reference in New Issue