Explorar o código

服装升级关联隐藏套装配置ishide

guodong hai 1 ano
pai
achega
31b1c68d9e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      GameClient/Assets/Game/HotUpdate/Utils/SuitUtil.cs

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Utils/SuitUtil.cs

@@ -251,6 +251,8 @@ namespace GFGGame
             void CheckToAdd(int targetId)
             {
                 if (result.IndexOf(targetId) >= 0) return;
+                SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(targetId);
+                if (suitCfg == null || suitCfg.isHide > 0) return;
 
                 if (notGet && haveGot)
                 {