fixed editor pooling

This commit is contained in:
CuongNV
2026-03-30 16:04:51 +07:00
parent 6b3910a7cc
commit f16df18a26
2 changed files with 41 additions and 9 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ namespace BrewMonster.Scripts.ChatUI
else
{
inputField.interactable = true;
var config = chatSystem.channelIcons.Find(c => c.channel == channel);
if (config.prefix != null)
{
@@ -376,7 +376,7 @@ namespace BrewMonster.Scripts.ChatUI
UnityGameSession.Instance.GameSession.SendPrivateChatData(target, msg, 0, 0, pack, slot);
// Server không echo whisper lại cho chính mình → hiện local echo
string localEcho = $"<color=#0065FE>[Whisper] → {target}: {msg}</color>";
string localEcho = $"<color=#0065FE>{target}: {msg}</color>";
EventBus.Publish(new GameSession.ChatMessageEvent(localEcho, (byte)ChatChannel.GP_CHAT_WHISPER));
}