Explorar el Código

没有动作资源的套装不给选动作按钮

zhaoyang hace 2 años
padre
commit
50af85a4e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -300,7 +300,7 @@ namespace GFGGame
                 {
                     ShowSuitPartList(id, true);
                 }
-                else if (SuitCfgArray.Instance.CheckSuitHasAction(id))
+                else if (SuitCfgArray.Instance.CheckSuitHasAction(id) && DressUpMenuSuitDataManager.CheckSuitHasActionRes(id))
                 {
                     listItem.m_comAxtionSelect.target.visible = true;
                     UI_PartsListItem.ProxyEnd();