From 7a9f11ba919ac21fbaab25e60a782c5f616766e7 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 05 九月 2018 03:31:55 +0800
Subject: [PATCH] 1869 前端 提交80级主线任务后,任务栏会选中主线任务以及魔族法宝任务框

---
 System/MainInterfacePanel/FlyingShoesTask.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/System/MainInterfacePanel/FlyingShoesTask.cs b/System/MainInterfacePanel/FlyingShoesTask.cs
index 3763443..6fbc547 100644
--- a/System/MainInterfacePanel/FlyingShoesTask.cs
+++ b/System/MainInterfacePanel/FlyingShoesTask.cs
@@ -343,16 +343,13 @@
         {
             Task_ID = TaskID;
             TypeAssignment();
-            if (TaskID == taskmodel.GetNowTaskID)
+            for (int i = 0; i < m_parent.childCount; i++)
             {
-                m_ImgSelected.SetActive(true);
-                for (int i = 0; i < m_parent.childCount; i++)
+                int taskID1 = m_parent.GetChild(i).GetComponent<TaskType>().TaskID;
+                m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(false);
+                if (taskID1 == taskmodel.GetNowTaskID)
                 {
-                    int taskID1 = m_parent.GetChild(i).GetComponent<TaskType>().TaskID;
-                    if (TaskID != taskID1)
-                    {
-                        m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(false);
-                    }
+                    m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(true);
                 }
             }
             m_DeliveryButton.gameObject.SetActive(true);

--
Gitblit v1.8.0