From fb4b1ed3c3366f993136e1f9a442bb2dc6d758ab Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 26 九月 2018 22:35:18 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs b/System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs
index 732b3f8..3fc5010 100644
--- a/System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs
+++ b/System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs
@@ -25,6 +25,7 @@
         [SerializeField] protected ImageEx m_Portrait;
         [SerializeField] protected TextEx m_BossName;
         [SerializeField] protected TextEx m_BossLevel;
+        [SerializeField] protected RectTransform m_RealmContainer;
         [SerializeField] protected Image m_Realm;
         [SerializeField] protected TimerBehaviour m_CoolDown;
         [SerializeField] protected Transform m_RefreshAtOnce;
@@ -90,11 +91,11 @@
             m_BossName.text = _name;
             m_BossLevel.text = Language.Get("Z1024", _level);
 
-            if (m_Realm != null)
+            if (m_Realm != null && m_RealmContainer != null)
             {
                 if (Config.Instance.ContainKey<RealmConfig>(_realm))
                 {
-                    m_Realm.gameObject.SetActive(true);
+                    m_RealmContainer.gameObject.SetActive(true);
                     var realmConfig = Config.Instance.Get<RealmConfig>(_realm);
                     if (realmConfig != null)
                     {
@@ -103,7 +104,7 @@
                 }
                 else
                 {
-                    m_Realm.gameObject.SetActive(false);
+                    m_RealmContainer.gameObject.SetActive(false);
                 }
             }
         }

--
Gitblit v1.8.0