fix bug
This commit is contained in:
parent
1f552c4a41
commit
78d6b533e0
@ -167,6 +167,7 @@ function MainComp:refreshChapter(force)
|
||||
local chapterId = DataManager.ChapterData:getChapterId()
|
||||
self.chapterList = DataManager.ChapterData:getChapterList(self.chapterPage)
|
||||
if self.currChapterId ~= chapterId or force then
|
||||
self.currChapterId = chapterId
|
||||
self.chapterPage = DataManager.ChapterData:getChapterPage(chapterId)
|
||||
self.chapterStage = DataManager.ChapterData:getChapterStage(chapterId)
|
||||
self:refreshChapterBg()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user