Browse Source

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhaoyang 2 years ago
parent
commit
0420fd80c3

+ 2 - 2
GameClient/Assets/Game/HotUpdate/DressUp/DressUpObj.cs

@@ -311,6 +311,8 @@ namespace GFGGame
         public void PutOnDressUpData(DressUpData dressUpData)
         public void PutOnDressUpData(DressUpData dressUpData)
         {
         {
             TakeOffAll(false);
             TakeOffAll(false);
+            _dressUpData.suitId = dressUpData.suitId;
+            _dressUpData.actionId = dressUpData.actionId;
             if (dressUpData.bgId > 0)
             if (dressUpData.bgId > 0)
             {
             {
                 AddOrRemove(dressUpData.bgId, false);
                 AddOrRemove(dressUpData.bgId, false);
@@ -319,8 +321,6 @@ namespace GFGGame
             {
             {
                 AddOrRemove(itemID, false, true);
                 AddOrRemove(itemID, false, true);
             }
             }
-            _dressUpData.suitId = dressUpData.suitId;
-            _dressUpData.actionId = dressUpData.actionId;
             checkDefaultItem();
             checkDefaultItem();
             UpdateWholeBodyView();
             UpdateWholeBodyView();
 
 

BIN
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes