| System/Chat/ChatSendComponent.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Chat/ChatSendComponent.cs
@@ -164,12 +164,13 @@ m_OnChating = true; string msg = m_ChatInput.text; string tmpMsg = ImgAnalysis.ReplaceFace(msg, out int faceCount); if (DirtyWordConfig.IsDirtWord(msg)) if (DirtyWordConfig.IsDirtWord(tmpMsg)) { msg = DirtyWordConfig.IsDirtWord(msg, '*'); msg = msg.Replace("*", ""); m_ChatInput.text = msg; tmpMsg = DirtyWordConfig.IsDirtWord(tmpMsg, '*'); tmpMsg = tmpMsg.Replace("*", ""); m_ChatInput.text = tmpMsg; SysNotifyMgr.Instance.ShowTip("DirtyWordWarn"); m_OnChating = false; return;