Fix inventory button hover indicators not appearing anymore (#11880)

This commit is contained in:
DrSmugleaf
2022-10-13 07:07:27 +02:00
committed by GitHub
parent 7078cf5779
commit ad9999211e
2 changed files with 51 additions and 12 deletions

View File

@@ -1,12 +1,12 @@
using Content.Client.Inventory;
using static Content.Client.Inventory.ClientInventorySystem;
namespace Content.Client.UserInterface.Controls
{
public sealed class SlotButton : SlotControl
{
public SlotButton(){}
public SlotButton() { }
public SlotButton(ClientInventorySystem.SlotData slotData)
public SlotButton(SlotData slotData)
{
ButtonTexturePath = slotData.TextureName;
Blocked = slotData.Blocked;