From 0b48054fb9b2e846aee89ee69e52891177511fc7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 17 十二月 2018 15:01:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 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