(f3d83a912) Disabled: Separate mac path to test if editing the actual application folder when using steam is OK

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:32:38 +03:00
parent 2215c2fba0
commit 9f87239724
13 changed files with 419 additions and 83 deletions
@@ -563,6 +563,25 @@ namespace Barotrauma.Items.Components
}
}
if (targetItem.Prefab.DeconstructItems.Any())
{
inputContainer.Inventory.RemoveItem(targetItem);
Entity.Spawner.AddToRemoveQueue(targetItem);
MoveInputQueue();
PutItemsToLinkedContainer();
}
else
{
if (outputContainer.Inventory.Items.All(i => i != null))
{
targetItem.Drop(dropper: null);
}
else
{
outputContainer.Inventory.TryPutItem(targetItem, user: null, createNetworkEvent: true);
}
}
if (targetItem.Prefab.DeconstructItems.Any())
{
inputContainer.Inventory.RemoveItem(targetItem);