Merge branch 'dev' of http://git.juzugame.com/b6-client/b6-lua into dev
This commit is contained in:
commit
1abca26819
@ -21,7 +21,12 @@ function SevenDayUI:getCurrencyParams()
|
||||
end
|
||||
|
||||
function SevenDayUI:ctor()
|
||||
self.day = 1
|
||||
self.day = DataManager.SevenDayData:getActDay()
|
||||
if self.day < 0 then
|
||||
self.day = 1
|
||||
elseif self.day > 7 then
|
||||
self.day = 7
|
||||
end
|
||||
end
|
||||
|
||||
function SevenDayUI:onLoadRootComplete()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user