Input syncing between clients, inventory sync bugfix, structure sync bugfix, settings button highlight bugfix, spectating bugfixes, in-game chatbox not visible when joining a server when the round is running

This commit is contained in:
Regalis
2015-11-14 00:09:56 +02:00
parent 24ed95cd68
commit ab7c39071c
15 changed files with 105 additions and 101 deletions
@@ -381,7 +381,7 @@ namespace Barotrauma
Item item = Entity.FindEntityByID(itemId) as Item;
if (item == null) continue;
if (items[i] != item) items[i].Drop(character, false);
if (items[i] != item && items[i] != null) items[i].Drop(character, false);
TryPutItem(item, i, false);
}
}
+1 -1
View File
@@ -118,7 +118,7 @@ namespace Barotrauma
if (item.inventory != null && removeItem)
{
item.Drop();
item.Drop(null, false);
item.inventory.RemoveItem(item);
}