瀏覽代碼

同步单位

zhaoyang 2 年之前
父節點
當前提交
f80f5af2d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();