Fix OpenStorage button in HumanInventoryWindow (#322)

This commit is contained in:
ShadowCommander
2019-09-01 13:50:13 -07:00
committed by Pieter-Jan Briers
parent 264a63b7f6
commit 0329150109

View File

@@ -47,6 +47,7 @@ namespace Content.Client.GameObjects
foreach (var (slot, button) in _window.Buttons)
{
button.OnPressed = AddToInventory;
button.OnStoragePressed = OpenStorage;
_inventoryButtons.Add(slot, new List<InventoryButton> {button});
}