From 1353fa6afbfbf1f01a745253fa380ffbdb05df3b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 07 十一月 2018 09:52:13 +0800
Subject: [PATCH] 4398 【1.2】聊天气泡框前端去掉Vip礼包的支持

---
 System/Chat/ChatBubbleSelectBehaviour.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/System/Chat/ChatBubbleSelectBehaviour.cs b/System/Chat/ChatBubbleSelectBehaviour.cs
index c1b2e14826..f5bbe60 100644
--- a/System/Chat/ChatBubbleSelectBehaviour.cs
+++ b/System/Chat/ChatBubbleSelectBehaviour.cs
@@ -86,9 +86,8 @@
             ChatBubbleModel.ChatBubble bubble;
             if (model.TryGetBubble(bubbleId, out bubble))
             {
-                var reason = 0;
-                var got = model.IsBubbleGot(bubbleId, out reason);
-                m_ContainerUnGet.gameObject.SetActive(reason != 0 && !got);
+                var got = model.IsBubbleGot(bubbleId);
+                m_ContainerUnGet.gameObject.SetActive(!got);
                 var config = Config.Instance.Get<ChatBubbleBoxConfig>(bubbleId);
                 if (!got)
                 {
@@ -99,8 +98,7 @@
 
         private void OnFunc()
         {
-            var reason = 0;
-            if (model.IsBubbleGot(bubbleId, out reason))
+            if (model.IsBubbleGot(bubbleId))
             {
                 model.SendUseBubble(bubbleId);
             }

--
Gitblit v1.8.0