From 5c6d49f48e70fd37919e948468a1c24d5aa2990e Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 12 四月 2019 21:09:24 +0800
Subject: [PATCH] 6498 【前端】【2.0】主界面技能转盘修改

---
 Core/GameEngine/DataToCtl/ConnectedState.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Core/GameEngine/DataToCtl/ConnectedState.cs b/Core/GameEngine/DataToCtl/ConnectedState.cs
index efebb6b..ad27e81 100644
--- a/Core/GameEngine/DataToCtl/ConnectedState.cs
+++ b/Core/GameEngine/DataToCtl/ConnectedState.cs
@@ -65,7 +65,7 @@
     {
         if (clock != null)
         {
-            clock.Stop();
+            Clock.Stop(clock);
         }
         clock = null;
 
@@ -90,9 +90,9 @@
 
         if (clock != null)
         {
-            clock.Stop();
+            Clock.Stop(clock);
         }
-        clock = Clock.Create(DateTime.Now + new TimeSpan(_seconds * TimeSpan.TicksPerSecond), OnDetectEnd);
+        clock = Clock.AlarmAt(DateTime.Now + new TimeSpan(_seconds * TimeSpan.TicksPerSecond), OnDetectEnd);
     }
 
     private void OnDetectEnd()

--
Gitblit v1.8.0