From 747ca1c64aaa206d18cec5876c7b296d14ccd910 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 28 九月 2018 17:42:05 +0800
Subject: [PATCH] 3933 【前端】任务面板支线任务分类不显示任务状态为0(可接取)的任务

---
 System/MainInterfacePanel/SideMission.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/System/MainInterfacePanel/SideMission.cs b/System/MainInterfacePanel/SideMission.cs
index 45d48b1..9be6ada 100644
--- a/System/MainInterfacePanel/SideMission.cs
+++ b/System/MainInterfacePanel/SideMission.cs
@@ -90,11 +90,14 @@
             gridCtrl.Refresh();
             foreach (var key in taskmodel.SideQuestsDic.Keys)
             {
-                if (TaskIdNow == 0)
+                if (taskmodel.SideQuestsDic[key].MissionState != 0)
                 {
-                    TaskIdNow = key;
-                }
-                gridCtrl.AddCell(ScrollerDataType.Header, key);
+                    if (TaskIdNow == 0)
+                    {
+                        TaskIdNow = key;
+                    }
+                    gridCtrl.AddCell(ScrollerDataType.Header, key);
+                }          
             }
             gridCtrl.Restart();
         }

--
Gitblit v1.8.0