Browse Source

同步单位

zhaoyang 2 years ago
parent
commit
f80f5af2d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachView.cs

@@ -46,7 +46,7 @@ namespace GFGGame
             _itemId = (int)viewData[0];
             _fromeViewDatas = viewData[1] as object[];
             // _needCount = viewData.Length > 2 ? (int)viewData[2] : 0;
-            long needCount = viewData.Length > 2 ? (long)viewData[2] : 0;
+            int needCount = viewData.Length > 2 ? (int)viewData[2] : 0;
             _needCount = (int)needCount;
 
             SetData();