Update use secondary hotkey (#11592)

This commit is contained in:
metalgearsloth
2022-09-29 16:06:34 +10:00
committed by GitHub
parent ca108d4194
commit 77a4a71ae0
7 changed files with 9 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ namespace Content.Client.Administration.UI.CustomControls
if (OverrideText != null && args.Button.Children.FirstOrDefault()?.Children?.FirstOrDefault() is Label label)
label.Text = GetText(selectedPlayer);
}
else if (args.Event.Function == EngineKeyFunctions.AltUse)
else if (args.Event.Function == EngineKeyFunctions.UseSecondary)
{
_verbSystem.VerbMenu.OpenVerbMenu(selectedPlayer.EntityUid);
}