fix: access can be granted again (#373)
This commit is contained in:
@@ -73,12 +73,15 @@ namespace Content.Client.Access.UI
|
||||
AccessLevelControlContainer.AddChild(departmentGrid);
|
||||
}
|
||||
|
||||
|
||||
foreach (var (id, button) in _groupAccessButtons.ButtonsList)
|
||||
foreach (var department in _groupAccessButtons.ButtonGroups)
|
||||
{
|
||||
button.OnPressed += _ => SubmitData();
|
||||
foreach (var button in department.Values)
|
||||
{
|
||||
button.OnPressed += _ => SubmitData();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//WD-EDIT
|
||||
if (!_entityManager.TryGetComponent<IdCardConsoleComponent>(owner.Owner, out var idConsoleComponent))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user