From 5af0e771d2ff58e53fba041a936be42b2f323fca Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 04 七月 2019 10:59:16 +0800
Subject: [PATCH] 7763 【2.0.200】【开发】古神印记门票合成红点

---
 System/Compose/New/ComposeFirstTypeCell.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/System/Compose/New/ComposeFirstTypeCell.cs b/System/Compose/New/ComposeFirstTypeCell.cs
index 82e6930..2ed92ce 100644
--- a/System/Compose/New/ComposeFirstTypeCell.cs
+++ b/System/Compose/New/ComposeFirstTypeCell.cs
@@ -27,8 +27,13 @@
             unlockTypeName.text = itemCompound.secondTypeName;
             arrowImg.gameObject.SetActive(thirdType != 0);
             UpdateBtnImg(selectSecondType);
-            if (firstType == (int)ComposeFuncType.Item
-                 && composeModel.secondTypeRedDict.ContainsKey(secondType))
+
+            var index = composeModel.composeRedpointCategories.FindIndex((x) =>
+             {
+                 return x.x == firstType && x.y == secondType;
+             });
+
+            if (index != -1)
             {
                 redpoint.gameObject.SetActive(true);
                 redpoint.redpointId = composeModel.secondTypeRedDict[secondType].id;

--
Gitblit v1.8.0