Speech bubble icon next to the character when speaking in multiplayer, fixed clients sending every message through radio when wearing a headset
This commit is contained in:
@@ -977,7 +977,7 @@ namespace Barotrauma.Networking
|
||||
{
|
||||
string command = ChatMessage.GetChatMessageCommand(message, out message).ToLower();
|
||||
|
||||
if (CanUseRadio(Character.Controlled)) type = ChatMessageType.Radio;
|
||||
if (command=="r" || command=="radio" && CanUseRadio(Character.Controlled)) type = ChatMessageType.Radio;
|
||||
}
|
||||
|
||||
var chatMessage = ChatMessage.Create(
|
||||
|
||||
Reference in New Issue
Block a user