Adds a adminbus button to delete the singularity (#4816)

This commit is contained in:
moonheart08
2021-10-10 05:47:15 -05:00
committed by GitHub
parent 3ff525c69c
commit 19a588a70a
3 changed files with 8 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ namespace Content.Client.Administration.UI.CustomControls
protected virtual bool CanPress()
{
return string.IsNullOrEmpty(Command) ||
IoCManager.Resolve<IClientConGroupController>().CanCommand(Command);
IoCManager.Resolve<IClientConGroupController>().CanCommand(Command.Split(' ')[0]);
}
protected override void EnteredTree()