From 4c36c36508aeb762523c22ef52309ca8a83ed99c Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 14 十二月 2018 19:51:21 +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