(a275d7aba) Use NotoSans instead of NotoSansCJK as an override for BebasNeue in Russian (NotoSansCJK is a chinese/japanese/korean font that has a ridiculous number of symbols)

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:44:44 +03:00
parent ff83e3fe38
commit 3b5ae37a1a
10 changed files with 391 additions and 63 deletions
@@ -829,6 +829,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);