报错修复
This commit is contained in:
parent
1bb5bb0fb3
commit
0146396ccf
@ -101,7 +101,7 @@ function HeroFundData:init(data)
|
|||||||
if registerBeginTs + (OPEN_AT_DAY - 1) * 86400 <= time then
|
if registerBeginTs + (OPEN_AT_DAY - 1) * 86400 <= time then
|
||||||
self.endTime = time + (OPEN_AT_DAY + 1) * 86400
|
self.endTime = time + (OPEN_AT_DAY + 1) * 86400
|
||||||
end
|
end
|
||||||
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.EventManager.CUSTOM_EVENT.MAIN_UI_CHECK_SIDE_BAR)
|
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.MAIN_UI_CHECK_SIDE_BAR)
|
||||||
self:setDirty()
|
self:setDirty()
|
||||||
DataManager:unregisterTryOpenFunc("HeroFundData")
|
DataManager:unregisterTryOpenFunc("HeroFundData")
|
||||||
end
|
end
|
||||||
@ -121,7 +121,7 @@ function HeroFundData:init(data)
|
|||||||
if registerBeginTs + (OPEN_AT_DAY - 1) * 86400 <= time then
|
if registerBeginTs + (OPEN_AT_DAY - 1) * 86400 <= time then
|
||||||
self.endTime = time + (OPEN_AT_DAY + 1) * 86400
|
self.endTime = time + (OPEN_AT_DAY + 1) * 86400
|
||||||
end
|
end
|
||||||
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.EventManager.CUSTOM_EVENT.MAIN_UI_CHECK_SIDE_BAR)
|
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.MAIN_UI_CHECK_SIDE_BAR)
|
||||||
self:setDirty()
|
self:setDirty()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user