Timer for deattaching items, more reliable door syncing, some new splash sounds

This commit is contained in:
Regalis
2016-02-13 21:25:59 +02:00
parent 9b5e78fce4
commit 9b6dd5da00
30 changed files with 252 additions and 59 deletions
@@ -68,9 +68,7 @@ namespace Barotrauma
protected override void DropItem(Item item)
{
if (item.body == null) return;
bool enabled = item.body.Enabled;
bool enabled = item.body!=null && item.body.Enabled;
item.Drop(character);
if (!enabled)