From 2b32c1203f307905b0b5e646291137c44d067f4a Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期六, 10 十一月 2018 15:06:04 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/FriendSystem/New/SocialWin.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/System/FriendSystem/New/SocialWin.cs b/System/FriendSystem/New/SocialWin.cs
index 111228d..1b1bfba 100644
--- a/System/FriendSystem/New/SocialWin.cs
+++ b/System/FriendSystem/New/SocialWin.cs
@@ -89,8 +89,11 @@
void CloseChild()
{
friendTipsObj.SetActive(false);
- WindowCenter.Instance.CloseImmediately<TeamChatWin>();
- WindowCenter.Instance.CloseImmediately<FairyChatWin>();
+ var children = WindowConfig.Get().FindChildWindows("SocialWin");
+ foreach (var window in children)
+ {
+ WindowCenter.Instance.Close(window);
+ }
}
}
}
--
Gitblit v1.8.0