Explorar o código

获得套装新部件不展示

zhaoyang %!s(int64=3) %!d(string=hai) anos
pai
achega
75c210e5da
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      GameClient/Assets/Game/HotUpdate/ServerProxy/ItemProxy.cs

+ 2 - 3
GameClient/Assets/Game/HotUpdate/ServerProxy/ItemProxy.cs

@@ -25,13 +25,12 @@ namespace GFGGame
                     ItemDataManager.InitServerData(response.Items);
                     //自定义套装
                     CustomSuitDataManager.InitServerData(response.CustomSuits);
+                    //!!!必须放在最后,标记数据初始化完成
+                    GameGlobal.DataInited = true;
                     return true;
                 }
             }
 
-
-            //!!!必须放在最后,标记数据初始化完成
-            GameGlobal.DataInited = true;
             return false;
 
         }