From 83c02d3d4ebb1c1fc70b12e750f81ac776dacb42 Mon Sep 17 00:00:00 2001 From: chenxi Date: Thu, 15 Jun 2023 20:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()