diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index ec36bd44..48046268 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -262,7 +262,7 @@ function BIReport:report(name, args) return end if args and type(args) == "table" then - if DataManager then + if DataManager and DataManager:getIsInitWithServer() then if DataManager.ChapterData then if args.max_level == nil then args.max_level = DataManager.ChapterData:getMaxChapterId()