Context menu UI backend refactor & better UX (#13318)
closes https://github.com/space-wizards/space-station-14/issues/9209
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Client.Commands
|
||||
|
||||
public string Description => "Sets the entity menu grouping type.";
|
||||
|
||||
public string Help => $"Usage: entitymenug <0:{EntityMenuPresenter.GroupingTypesCount}>";
|
||||
public string Help => $"Usage: entitymenug <0:{EntityMenuUIController.GroupingTypesCount}>";
|
||||
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
if (args.Length != 1)
|
||||
@@ -27,7 +27,7 @@ namespace Content.Client.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
if (id < 0 ||id > EntityMenuPresenter.GroupingTypesCount - 1)
|
||||
if (id < 0 ||id > EntityMenuUIController.GroupingTypesCount - 1)
|
||||
{
|
||||
shell.WriteLine($"{args[0]} is not a valid integer.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user