From 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 05 十一月 2025 17:40:23 +0800
Subject: [PATCH] 130 战斗修改回合样式

---
 Main/System/Guild/GuildJoinWin.cs |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/Main/System/Guild/GuildJoinWin.cs b/Main/System/Guild/GuildJoinWin.cs
index 10aeb88..1d1be7d 100644
--- a/Main/System/Guild/GuildJoinWin.cs
+++ b/Main/System/Guild/GuildJoinWin.cs
@@ -42,19 +42,15 @@
         guildListScroller.OnRefreshCell -= RefreshCell;
         PlayerDatas.Instance.fairyData.OnRefreshFairyInfo -= OnRefreshFairyInfo;
 
-        var win = UIManager.Instance.GetUI<MainWin>();
-        if (win)
-            win.RestoreFuncBtn();
-        
+        UIManager.Instance.GetUI<MainWin>()?.RestoreFuncBtn();
+
     }
 
     void OnRefreshFairyInfo()
     {
         //褰撳墠鐣岄潰涓嬫湁鍒锋柊鑷鐨勫叕浼氭暟鎹紝璇存槑涓�瀹氭槸鍔犲叆浜嗗叕浼氾紝闇�涓诲姩璺宠浆鍒板叕浼氱晫闈�
         CloseWindow();
-        var win = UIManager.Instance.GetUI<MainWin>();
-        if (win)
-            win.ClickFunc(4);
+        UIManager.Instance.GetUI<MainWin>()?.ClickFunc(4);
     }
 
     void Display()

--
Gitblit v1.8.0