From 24a9c6abf3ff4376e5c40c4b451e93171a9d23b7 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 16 一月 2019 14:16:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/TaskListTip.cs | 33 ++++++++++++++-------------------
1 files changed, 14 insertions(+), 19 deletions(-)
diff --git a/System/MainInterfacePanel/TaskListTip.cs b/System/MainInterfacePanel/TaskListTip.cs
index e6c07d9..f8bcee3 100644
--- a/System/MainInterfacePanel/TaskListTip.cs
+++ b/System/MainInterfacePanel/TaskListTip.cs
@@ -204,7 +204,6 @@
}
}
SetLength();
-
for (int i = 0; i < _list.Count; i++)
{
if (i >= Content.childCount)
@@ -226,23 +225,6 @@
{
return;
}
- //var inDungeon = IsDungeon();
- //TaskScheduling();
- //if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !inDungeon)
- //{
- // if (MissionState != 0 && MissionID != 1 && _list.Contains(MissionID))
- // {
- // Selected();//閫変腑閫昏緫
- // TaskAddAndDelete(MissionID);
- // if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing)
- // {
- // return;
- // }
- // TaskJump(MissionID);
- // return;
- // }
-
- //}
if (Parent.gameObject.activeInHierarchy)
{
StartCoroutine(WaitAddTask(MissionID, MissionState));
@@ -307,6 +289,19 @@
return;
}
TaskScheduling();
+ bool _isBool = false;
+ for (int i = 0; i < _list.Count; i++)
+ {
+ if (taskmodel.SideQuestState(_list[i]) == 2)
+ {
+ _isBool = true;
+ }
+ }
+ if (_isBool)
+ {
+ TheTaskToGenerate();
+ return;
+ }
for (int i = 0; i < _list.Count; i++)
{
if (i <= Content.childCount - 1)
@@ -343,7 +338,7 @@
{
DeleteSort(_IdTask);
}
-
+ TaskJump();
}
private void DeleteSort(int taskID)//鍏充簬浠诲姟鍒犻櫎
--
Gitblit v1.8.0