fixed editor pooling
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user