@@ -191,9 +191,15 @@ namespace Content.Client.Inventory
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (ev.Function == ContentKeyFunctions.ExamineEntity)
|
if (ev.Function == ContentKeyFunctions.ExamineEntity)
|
||||||
|
{
|
||||||
_examine.DoExamine(slot.Entity.Value);
|
_examine.DoExamine(slot.Entity.Value);
|
||||||
|
ev.Handle();
|
||||||
|
}
|
||||||
else if (ev.Function == EngineKeyFunctions.UseSecondary)
|
else if (ev.Function == EngineKeyFunctions.UseSecondary)
|
||||||
|
{
|
||||||
_ui.GetUIController<VerbMenuUIController>().OpenVerbMenu(slot.Entity.Value);
|
_ui.GetUIController<VerbMenuUIController>().OpenVerbMenu(slot.Entity.Value);
|
||||||
|
ev.Handle();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddInventoryButton(EntityUid invUid, string slotId, InventoryComponent inv)
|
private void AddInventoryButton(EntityUid invUid, string slotId, InventoryComponent inv)
|
||||||
|
|||||||
Reference in New Issue
Block a user