This commit is contained in:
chenxi 2023-06-15 20:59:48 +08:00
parent f810b8105e
commit 83c02d3d4e

View File

@ -262,7 +262,7 @@ function BIReport:report(name, args)
return return
end end
if args and type(args) == "table" then if args and type(args) == "table" then
if DataManager then if DataManager and DataManager:getIsInitWithServer() then
if DataManager.ChapterData then if DataManager.ChapterData then
if args.max_level == nil then if args.max_level == nil then
args.max_level = DataManager.ChapterData:getMaxChapterId() args.max_level = DataManager.ChapterData:getMaxChapterId()