(ad50d7e7a) Removed a dot from the end of afflictioncauseofdeath.oxygenlow in PT-BR

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:59:21 +03:00
parent 61c5f52441
commit 7c61c5e179
9 changed files with 67 additions and 176 deletions
@@ -696,6 +696,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);