From 0edf875fd512d3a04b5b5fe08328b6dbe039dceb Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 07 十一月 2018 11:35:30 +0800
Subject: [PATCH] 2305 【BUG】【1.2】引导点击任务时,会自动弹出NPC的默认对话框

---
 System/MainInterfacePanel/FlyingShoesTask.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/System/MainInterfacePanel/FlyingShoesTask.cs b/System/MainInterfacePanel/FlyingShoesTask.cs
index 2a0a94a..ce0a913 100644
--- a/System/MainInterfacePanel/FlyingShoesTask.cs
+++ b/System/MainInterfacePanel/FlyingShoesTask.cs
@@ -165,6 +165,7 @@
                     }
                     else
                     {
+                        HeroAIRecorder.ClearRecord();
                         ContentText.ExcuteHref();
                         OpenPanel(Task_ID);
                     }
@@ -274,11 +275,13 @@
             mainModel.IsSelfMotionTask = false;
             if (ModelCenter.Instance.GetModel<VipModel>().GetVipPrivilegeCnt(VipPrivilegeType.FreeTransfer) > 0)
             {
+                HeroAIRecorder.ClearRecord();
                 m_ContentText.ExcuteHref(1);
                 return;
             }
             if (itemNumber > 0)
             {
+                HeroAIRecorder.ClearRecord();
                 m_ContentText.ExcuteHref(1);
             }
             else
@@ -288,8 +291,7 @@
                     int NeedMoney = (int)UIHelper.GetMoneyCnt(1) + (int)UIHelper.GetMoneyCnt(2);
                     if (NeedMoney >= 1)
                     {
-
-
+                        HeroAIRecorder.ClearRecord();
                         m_ContentText.ExcuteHref(1);
                     }
                     else

--
Gitblit v1.8.0