Fix client inventory not inheriting the correct controls.

Fixes it on Clyde.
This commit is contained in:
Pieter-Jan Briers
2019-03-16 18:14:23 +01:00
parent c1c4728961
commit 1b3d3debc1

View File

@@ -167,7 +167,7 @@ namespace Content.Client.GameObjects
/// <summary>
/// Temporary window to hold the basis for inventory hud
/// </summary>
private class InventoryWindow : Control
private class InventoryWindow : PanelContainer
{
private int elements_x;
@@ -286,7 +286,7 @@ namespace Content.Client.GameObjects
}
}
private class InventoryButton : Control
private class InventoryButton : PanelContainer
{
public Slots Slot;
public EntityUid EntityUid;