Water dustparticle fixes, random variation in background color, submarine is automatically moved to origo when loading, configuring a fabricable item with no material requirements doesn't throw an error, AI characters can't open doors if in handcuffs, engines can be picked through doors
This commit is contained in:
@@ -1305,7 +1305,7 @@ namespace Barotrauma.Networking
|
||||
List<Client> recipients = new List<Client>();
|
||||
Client targetClient = null;
|
||||
|
||||
if (type==ChatMessageType.Server)
|
||||
if (type == ChatMessageType.Server)
|
||||
{
|
||||
string command = GetChatMessageCommand(message).ToLower();
|
||||
|
||||
@@ -1363,7 +1363,7 @@ namespace Barotrauma.Networking
|
||||
{
|
||||
foreach (Client c in ConnectedClients)
|
||||
{
|
||||
if (type != ChatMessageType.Dead || (c.Character != null && c.Character.IsDead)) recipients.Add(c);
|
||||
if (type != ChatMessageType.Dead || (c.Character == null || c.Character.IsDead)) recipients.Add(c);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user