From f7dc33c89b3b90a8cbc5999062519e58a5b8fa19 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 26 九月 2018 19:33:05 +0800
Subject: [PATCH] 3335 修理窗口管理api
---
System/Chat/ChatCtrl.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/System/Chat/ChatCtrl.cs b/System/Chat/ChatCtrl.cs
index f71eee7..c5c63cb 100644
--- a/System/Chat/ChatCtrl.cs
+++ b/System/Chat/ChatCtrl.cs
@@ -1029,15 +1029,15 @@
switch (type)
{
case ChatInfoType.Team:
- if (!WindowCenter.Instance.CheckOpen<TeamChatWin>()
- && (!WindowCenter.Instance.CheckOpen<ChatWin>() || presentChatType != ChatInfoType.Team))
+ if (!WindowCenter.Instance.IsOpen<TeamChatWin>()
+ && (!WindowCenter.Instance.IsOpen<ChatWin>() || presentChatType != ChatInfoType.Team))
{
unReadChatCounts[ChatInfoType.Team] = Mathf.Min(unReadChatCounts[ChatInfoType.Team] + 1, 99);
}
break;
case ChatInfoType.Fairy:
- if (!WindowCenter.Instance.CheckOpen<FairyChatWin>()
- && (!WindowCenter.Instance.CheckOpen<ChatWin>() || presentChatType != ChatInfoType.Fairy))
+ if (!WindowCenter.Instance.IsOpen<FairyChatWin>()
+ && (!WindowCenter.Instance.IsOpen<ChatWin>() || presentChatType != ChatInfoType.Fairy))
{
unReadChatCounts[ChatInfoType.Fairy] = Mathf.Min(unReadChatCounts[ChatInfoType.Fairy] + 1, 99);
}
--
Gitblit v1.8.0