From 4abb2143d387c7c635194bb124051a0bce5e246d Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期二, 20 十一月 2018 15:40:07 +0800
Subject: [PATCH] 4846 子 【1.3】前XX级,无操作时,可自动执行主线 / 【前端】【1.3】XX级前玩家无操作时自动执行主线任务

---
 System/MainInterfacePanel/DialogueDuidanceWin.cs |   24 +-----------------------
 1 files changed, 1 insertions(+), 23 deletions(-)

diff --git a/System/MainInterfacePanel/DialogueDuidanceWin.cs b/System/MainInterfacePanel/DialogueDuidanceWin.cs
index ec4b913..1601c2a 100644
--- a/System/MainInterfacePanel/DialogueDuidanceWin.cs
+++ b/System/MainInterfacePanel/DialogueDuidanceWin.cs
@@ -119,35 +119,12 @@
 
         protected override void OnAfterOpen()
         {
-            //Treasure treasure = null;
-            //if (treasureModel.TryGetTreasure(FabaoId, out treasure))
-            //{
-            //    if (treasure.state != TreasureState.Collecting && !NewBieCenter.Instance.inGuiding)
-            //    {
-            //        StartCoroutine("GetMainSelfMotion");
-            //    }
 
-            //}
         }
-        //IEnumerator GetMainSelfMotion()
-        //{
-        //    if (mainModel.IsSelfMotionTask)
-        //    {
-        //        yield return WaitingForSecondConst.WaitMS1500;
-        //    }
-        //    else
-        //    {
-        //        yield return new WaitForSeconds(AwaitSecond);
-        //    }
-        //    OnClickSKIPButton();
-        //    mainModel.IsSelfMotionTask = true;
-        //    yield break;
-        //}
         protected override void OnPreClose()
         {
             MainInterfaceWin.IsOpenMaininterface -= IsOpenMaininterface;
             UI3DModelExhibition.Instance.StopShow();
-           // StopCoroutine("GetMainSelfMotion");
         }
 
         private void IsOpenMaininterface()
@@ -253,6 +230,7 @@
             }
             mainModel.IsSelfMotionTask = false;
             Close();
+            HeroAIRecorder.ClearRecord();
             WindowCenter.Instance.Open<MainInterfaceWin>();
         }
         #endregion

--
Gitblit v1.8.0