From 68f95c4e3db1f79b3ef5705443d792e3f1cfd8ff Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 24 十一月 2018 16:28:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/MainInterfaceWin.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/System/MainInterfacePanel/MainInterfaceWin.cs b/System/MainInterfacePanel/MainInterfaceWin.cs
index 24b7029..5806697 100644
--- a/System/MainInterfacePanel/MainInterfaceWin.cs
+++ b/System/MainInterfacePanel/MainInterfaceWin.cs
@@ -144,6 +144,8 @@
         FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
         WishingPoolModel wishModel { get { return ModelCenter.Instance.GetModel<WishingPoolModel>(); } }
         MysticalPurchaseModel purchaseModel { get { return ModelCenter.Instance.GetModel<MysticalPurchaseModel>(); } }
+        IceCrystalVeinModel m_IceCrystalVeinModel;
+        IceCrystalVeinModel iceCrystalVeinModel { get { return m_IceCrystalVeinModel ?? (m_IceCrystalVeinModel = ModelCenter.Instance.GetModel<IceCrystalVeinModel>()); } }
         #region Built-in
         protected override void BindController()
         {
@@ -612,6 +614,17 @@
                     }
                 }
             }
+            if (iceCrystalVeinModel.IsIceCrystalVeinCopy && !IsDungeon())//鏄惁鍐嶆鎵撳紑鍐版櫠鐭胯剦闈㈡澘
+            {
+                if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
+                {
+                    if (!WindowCenter.Instance.IsOpen("IceCrystalVeinWin"))
+                    {
+                        WindowCenter.Instance.Open<IceCrystalVeinWin>();
+                    }
+                    iceCrystalVeinModel.IsIceCrystalVeinCopy = false;
+                }          
+            }
 
         }
 

--
Gitblit v1.8.0