From 552e60416753b233f7a44eb77e95181830a481ce Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 11 Jul 2023 10:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=8A=A5=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=8Cbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 2 +- lua/app/common/data_manager.lua | 4 +++- lua/app/game.lua | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 8f66ffcc..7a537022 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -487,7 +487,7 @@ function BIReport:postFightBegin(battleType, wave, chapterId, maxChapter, startT event_type = BIReport.FIGHT_OPT_TYPE.START, wave_id = wave, chapter_id = chapterId, - max_chapter = maxChapter, + fight_max_chapter = maxChapter, start_times = startTimes, } args.formation, args.famation_level = DataManager.FormationData:getStageFormationBIStr() diff --git a/lua/app/common/data_manager.lua b/lua/app/common/data_manager.lua index 22899eeb..1f906855 100644 --- a/lua/app/common/data_manager.lua +++ b/lua/app/common/data_manager.lua @@ -74,7 +74,9 @@ function DataManager:checkDataBind() if name == "BagData" then changeBindFunc(baseData.ItemData, self[name].ItemData) else - changeBindFunc(baseData, self[name]) + if baseData ~= self[name] then + changeBindFunc(baseData, self[name]) + end end end end diff --git a/lua/app/game.lua b/lua/app/game.lua index a3941df6..4b86a579 100644 --- a/lua/app/game.lua +++ b/lua/app/game.lua @@ -519,6 +519,10 @@ if NOT_PUBLISH then battleController.battleUI:initGridCell() end end + + if Input.GetKeyDown(KeyCode.LeftArrow) and Input.GetKey(KeyCode.F) then + ModuleManager.LoginManager:reloginOnReconnectRefuse() + end end Game._releaseOnApplicationFocus = Game.onApplicationFocus