From e108050b91a592a5216c12f71947c33883d61083 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期五, 14 十二月 2018 14:44:46 +0800
Subject: [PATCH] 2633 【BUG】【1.3】【1.3.100】仙缘商店购买提示错误

---
 System/MainInterfacePanel/InGamePushContainer.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/System/MainInterfacePanel/InGamePushContainer.cs b/System/MainInterfacePanel/InGamePushContainer.cs
index 649993c..deaca6c 100644
--- a/System/MainInterfacePanel/InGamePushContainer.cs
+++ b/System/MainInterfacePanel/InGamePushContainer.cs
@@ -103,11 +103,16 @@
         private void CheckHelpPointExchange()
         {
             int pushId = exchageModel.currentShopId;
-            m_HelpPointExchangeNotify.gameObject.SetActive(pushId != 0);
-            if (pushId != 0)
+            StoreConfig storeConfig = Config.Instance.Get<StoreConfig>(pushId);
+            if (pushId != 0 && storeConfig != null)
             {
+                m_HelpPointExchangeNotify.gameObject.SetActive(true);
                 m_HelpPointExchangeNotify.SetDisplay();
             }
+            else
+            {
+                m_HelpPointExchangeNotify.gameObject.SetActive(false);
+            }
         }
 
         private void CheckRealmBetterEquip()

--
Gitblit v1.8.0