浏览代码

合成补充提交

zhangyuqian 10 月之前
父节点
当前提交
e37f589a82
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameView.cs

+ 4 - 0
GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameView.cs

@@ -322,6 +322,10 @@ namespace GFGGame
                 return;
             }
             int index = indexX * itemNum + indexY;
+            if(index >= 20)
+            {
+                index = index - 1;
+            }
             bool result = await MiniGameProxy.ReqMergeGameSellBtn(materialID, index);
             if(result)
             {