mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 14:44:17 +00:00
use player name when sending chat messages
This commit is contained in:
parent
ae3ee460c8
commit
12d13392c1
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ namespace SanAndreasUnity.Chat
|
|||
if (!FilterWithPreprocessors(player, ref msg))
|
||||
return;
|
||||
|
||||
SendChatMessageToAllPlayersAsServer(msg, "player " + player.netId);
|
||||
SendChatMessageToAllPlayersAsServer(msg, player.PlayerName);
|
||||
}
|
||||
|
||||
internal void OnChatMessageReceivedOnLocalPlayer(ChatMessage chatMsg)
|
||||
|
|
Loading…
Reference in a new issue