From e80cb92bf4b84cab4d87bf3a23bbf21da311cd03 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 04 二月 2026 12:54:21 +0800
Subject: [PATCH] 386 修复在当前战场弹自己的结算没考虑HomeWin的问题

---
 Main/Component/UI/Common/PopupWindowsProcessor.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Main/Component/UI/Common/PopupWindowsProcessor.cs b/Main/Component/UI/Common/PopupWindowsProcessor.cs
index c06415e..c9b541b 100644
--- a/Main/Component/UI/Common/PopupWindowsProcessor.cs
+++ b/Main/Component/UI/Common/PopupWindowsProcessor.cs
@@ -101,9 +101,6 @@
         if (UIManager.Instance.IsOpened<LoadingWin>())
             return;
 
-        if (!UIManager.Instance.IsOpened<HomeWin>() && popupWindowQueue[0].isNeedHomeWin)
-            return;
-
         // 杩涘叆娓告垙绗竴娆℃帹閫佸仛寤惰繜澶勭悊
         if (!homeWinFirstOpened)
         {
@@ -126,6 +123,8 @@
             var popup = popupWindowQueue[i];
             if (activeBattleName == "" || activeBattleName == "StoryBattleField" || activeBattleName == popup.battleFieldName)
             {
+                if (popup.isNeedHomeWin && !UIManager.Instance.IsOpened<HomeWin>())
+                    continue;
                 targetPopup = popup;
                 targetIndex = i;
                 break;

--
Gitblit v1.8.0