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/Mount/MountWin.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/System/Mount/MountWin.cs b/System/Mount/MountWin.cs
index 7e18b2d..f069203 100644
--- a/System/Mount/MountWin.cs
+++ b/System/Mount/MountWin.cs
@@ -377,7 +377,7 @@
                 {
                     FuncConfigConfig _tagfun = Config.Instance.Get<FuncConfigConfig>("HorseUpItem");
                     ItemConfig _tagchine = Config.Instance.Get<ItemConfig>(int.Parse(_tagfun.Numerical1));
-                    if (!WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
+                    if (!WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                     {
                         GetItemPath.SetChinItemModel(_tagchine.ID);
                     }
@@ -427,7 +427,7 @@
                     ScrollTip.ShowTip(Language.Get("HorseDan5_text"));
                     yield break;
                 }
-                else if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())//鎵撳紑楠戝疇婵�娲荤晫闈㈢粨鏉熸柟娉�
+                else if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())//鎵撳紑楠戝疇婵�娲荤晫闈㈢粨鏉熸柟娉�
                 {
                     m_AutoTrainBtn.gameObject.SetActive(true);
                     m_StopDomesticateBtn.gameObject.SetActive(false);
@@ -466,7 +466,7 @@
         public void FairyJadeDomesticate()
         {
             int NumberLv = AutoTrainTipsWin._Lvnumber;//绛夌骇鎵�闇�鐨勭瓑绾�
-            if (NumberLv > mountModel._DicHorse[signHorseID].Lv && !WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>() && AutoTrainTipsWin.IsFairy)
+            if (NumberLv > mountModel._DicHorse[signHorseID].Lv && !WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>() && AutoTrainTipsWin.IsFairy)
             {
                 m_AutoTrainBtn.gameObject.SetActive(false);
                 m_StopDomesticateBtn.gameObject.SetActive(true);
@@ -480,7 +480,7 @@
             int NumberLv = AutoTrainTipsWin._Lvnumber;//绛夌骇鎵�闇�鐨勭瓑绾�
             while (NumberLv > mountModel._DicHorse[signHorseID].Lv)
             {
-                if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
+                if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                 {
                     m_AutoTrainBtn.gameObject.SetActive(true);
                     m_StopDomesticateBtn.gameObject.SetActive(false);

--
Gitblit v1.8.0