浏览代码

搭配赛补充提交

zhangyuqian 11 月之前
父节点
当前提交
d0d7d0adf2
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

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

@@ -332,11 +332,12 @@ namespace GFGGame
             if (_currentMenuType == ConstDressUpItemType.TAO_ZHUANG)
             {
                 partsListScrollingPosY = _ui.m_partsList.m_list.scrollPane.scrollingPosY;
-
+                MatchingCompetitionDataManager.Instance.DressPropTransInfoDic.Clear();
                 OnBtnNormalClick(context);
             }
             else if (_currentMenuType == ConstDressUpItemType.DONG_ZUO)
             {
+                MatchingCompetitionDataManager.Instance.DressPropTransInfoDic.Clear();
                 MyDressUpHelper.dressUpObj.PutOnOrTakeOffAction(id);
             }
             else
@@ -472,6 +473,7 @@ namespace GFGGame
         {
             MyDressUpHelper.dressUpObj.TakeOffAll();
             MyDressUpHelper.dressUpObj.AddOrRemove(ConstItemID.DEFULT_BG, false);
+            MatchingCompetitionDataManager.Instance.DressPropTransInfoDic.Clear();
             UpdateBtnAction();
             _ui.m_partsList.m_list.numItems = _currentList3.Count;
             _ui.m_partsList2.m_list.numItems = _currentList4.Count;