From cbe3d7c2cb4fbf96f3a2295351fa03ea14035499 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 26 九月 2018 20:28:38 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Pet/PetAttributeMethods.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Pet/PetAttributeMethods.cs b/System/Pet/PetAttributeMethods.cs
index 34234d2..ef3ee3d 100644
--- a/System/Pet/PetAttributeMethods.cs
+++ b/System/Pet/PetAttributeMethods.cs
@@ -531,7 +531,7 @@
             int haveCnt = playerPack.GetItemCountByID(PackType.rptItem, petmodel.petUpgradeToolId);
             if (haveCnt >= costNum)
             {
-                if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
+                if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                 {
                     petAutoTrainText.text = Language.Get("PetWin_EvolveTrainBtn_6");
                     isAutoTrain = false;

--
Gitblit v1.8.0