Fix OpenStorage button in HumanInventoryWindow (#322)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
264a63b7f6
commit
0329150109
@@ -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});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user