From a1136c280cefc316148c6c2973774feab5078660 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 04 九月 2018 09:44:37 +0800
Subject: [PATCH] 3226【前端】猫耳游戏数据对接文档

---
 System/Chat/ChatCtrl.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/System/Chat/ChatCtrl.cs b/System/Chat/ChatCtrl.cs
index 259e671..f82740e 100644
--- a/System/Chat/ChatCtrl.cs
+++ b/System/Chat/ChatCtrl.cs
@@ -262,17 +262,17 @@
                 return;
             }
         }
-        ChatCenter.RecentlyChat _recentlyChat = null;
-        if (!_dirty)
-        {
-            _recentlyChat = chatCenter.SaveRecentlyChat(msg);
-        }
         LanguageVerify.toPlayer = (uint)PteChatID;
         LanguageVerify.toPlayerName = PteChatName;
         LanguageVerify.Instance.VerifyChat(msg, type, (bool ok, string result) =>
          {
              if (ok)
              {
+                 ChatCenter.RecentlyChat _recentlyChat = null;
+                 if (!_dirty)
+                 {
+                     _recentlyChat = chatCenter.SaveRecentlyChat(result);
+                 }
                  msg = CheckHasItem(result, _recentlyChat);
                  chatCenter.recentlyChat = null;
                  switch (type)

--
Gitblit v1.8.0