From 037dc58bb39cdae956bd20ad8a20bfecf96f4aa3 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 19 四月 2019 10:43:17 +0800
Subject: [PATCH] 3335 缥缈仙域

---
 System/HazyRegion/HazyRegionWin.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/System/HazyRegion/HazyRegionWin.cs b/System/HazyRegion/HazyRegionWin.cs
index 0f6eb6f..bad32dd 100644
--- a/System/HazyRegion/HazyRegionWin.cs
+++ b/System/HazyRegion/HazyRegionWin.cs
@@ -184,6 +184,7 @@
             yield return WaitingForSecondConst.WaitMS500;
 
             var allComplete = true;
+            bool existAnyDoingIncident = false;
             var incidents = model.GetAllIncidents();
             if (incidents != null)
             {
@@ -196,6 +197,18 @@
                         {
                             allComplete = false;
                         }
+                        if (incident.state == HazyRegionModel.IncidentState.Processing)
+                        {
+                            existAnyDoingIncident = true;
+                        }
+                    }
+                }
+
+                if (!allComplete)
+                {
+                    if (!existAnyDoingIncident && model.point == 0)
+                    {
+                        allComplete = true;
                     }
                 }
             }

--
Gitblit v1.8.0