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:
Regalis
2016-02-20 18:24:38 +02:00
parent 8672a47a12
commit 619390ab72
21 changed files with 146 additions and 53 deletions
+2 -2
View File
@@ -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);
}
}