From 213fc450a54255141091983907874ecc245e99e9 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Tue, 30 Apr 2024 10:59:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=89=8B=E5=BC=95=E5=AF=BC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Guide/GuideManager.lua | 3 ++- Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guide/GuideManager.lua b/Assets/ManagedResources/~Lua/Modules/Guide/GuideManager.lua index 648ee682c0..bbc48d8c5c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guide/GuideManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guide/GuideManager.lua @@ -250,7 +250,8 @@ function GuideManager.CheckFuncGuide() this.SyncFuncGuideServer(guideId) GuideManager.ShowGuide(guideId) end - table.remove(_FuncGuideList, 1) + --table.remove(_FuncGuideList, 1) + table.removebyvalue(_FuncGuideList,guideId) else Game.GlobalEvent:DispatchEvent(GameEvent.Guide.FuncGuideDone) end diff --git a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua index e325c53f15..068098249e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua @@ -243,6 +243,7 @@ function this.BcakUpdateUserExp(_msg) this.level = _msg.level if this.level > oldLevel then + Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnLevelChange) CheckRedPointStatus(RedPointType.HeroExplore_OpenMap) CheckRedPointStatus(RedPointType.EpicExplore_OpenCarbon) --FightManager.SetAndGetSingleFightState3(this.level)