浏览代码

升级弹窗增加注释和去掉重复判断

huangxiaoyue 1 年之前
父节点
当前提交
8474880002
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      GameClient/Assets/Game/HotUpdate/Data/RoleDataManager.cs

+ 1 - 2
GameClient/Assets/Game/HotUpdate/Data/RoleDataManager.cs

@@ -279,10 +279,9 @@ namespace GFGGame
         }
         private static void CheckUpLv(object param)
         {
-            if (GuideDataManager.currentGuideId > 0) return;
+            if (GuideDataManager.currentGuideId > 0) return;//在新手引导中不弹
             if (ViewManager.isViewOpen(typeof(FunctionOpenView).Name)) return;//等功能开启展示完成后再展示角色升级
             if (ViewManager.isViewOpen(typeof(StoryFightSingleScoreView).Name)) return;//战斗界面关闭前不弹升级
-            if (ViewManager.isViewOpen(typeof(StoryFightTargetScoreView).Name)) return;//战斗界面关闭前不弹升级
 
             if (InstanceZonesDataManager.isQuicklyFighting == true) return;//速刷中不弹
             if (InstanceZonesDataManager.isResultFighting == true) return;//结算中经验进度结束前不弹