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

diff --git a/System/MainInterfacePanel/PlayerMainDate.cs b/System/MainInterfacePanel/PlayerMainDate.cs
index 84e336e..e97e485 100644
--- a/System/MainInterfacePanel/PlayerMainDate.cs
+++ b/System/MainInterfacePanel/PlayerMainDate.cs
@@ -193,7 +193,7 @@
     {
         if (ItemID == 221)
         {
-            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
+            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
             {
                 WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.SystemAndCustom);
                 WindowCenter.Instance.Open<MainInterfaceWin>();
@@ -354,7 +354,7 @@
                 prowNum = power;
                 if (!StrengthegingBool && StrengthegingAddFight == 0)
                 {
-                    if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
+                    if (WindowCenter.Instance.IsOpen<PowerAddWin>())
                     {
                         WindowCenter.Instance.CloseImmediately<PowerAddWin>();
                     }
@@ -383,7 +383,7 @@
         yield return new WaitForSeconds(0.5f);
         ProwNumAdd = StrengthegingAddFight;
         StrengthegingAddFight = 0;
-        if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
+        if (WindowCenter.Instance.IsOpen<PowerAddWin>())
         {
             WindowCenter.Instance.CloseImmediately<PowerAddWin>();
         }
@@ -393,7 +393,7 @@
     public void FabaoPowerAdd(int power)
     {
         ProwNumAdd = power;
-        if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
+        if (WindowCenter.Instance.IsOpen<PowerAddWin>())
         {
             WindowCenter.Instance.CloseImmediately<PowerAddWin>();
         }

--
Gitblit v1.8.0