Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -230,11 +230,19 @@ namespace Barotrauma
|
||||
|
||||
protected readonly int capacity;
|
||||
protected readonly ItemSlot[] slots;
|
||||
|
||||
|
||||
public bool Locked;
|
||||
|
||||
protected float syncItemsDelay;
|
||||
|
||||
|
||||
private int extraStackSize;
|
||||
public int ExtraStackSize
|
||||
{
|
||||
get => extraStackSize;
|
||||
set => extraStackSize = MathHelper.Max(value, 0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// All items contained in the inventory. Stacked items are returned as individual instances. DO NOT modify the contents of the inventory while enumerating this list.
|
||||
/// </summary>
|
||||
@@ -1028,7 +1036,6 @@ namespace Barotrauma
|
||||
visualSlots[n].ShowBorderHighlight(Color.White, 0.1f, 0.4f);
|
||||
if (selectedSlot?.Inventory == this) { selectedSlot.ForceTooltipRefresh = true; }
|
||||
}
|
||||
syncItemsDelay = 1.0f;
|
||||
#endif
|
||||
CharacterHUD.RecreateHudTextsIfFocused(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user