diff --git a/Content.Client/Administration/UI/CustomControls/UICommandButton.cs b/Content.Client/Administration/UI/CustomControls/UICommandButton.cs index 763927f0f45ee7..6e048c62c5bcbb 100644 --- a/Content.Client/Administration/UI/CustomControls/UICommandButton.cs +++ b/Content.Client/Administration/UI/CustomControls/UICommandButton.cs @@ -1,4 +1,4 @@ -using System; +using System; using Robust.Client.UserInterface.CustomControls; using Robust.Shared.IoC; @@ -16,8 +16,10 @@ protected override void Execute(ButtonEventArgs obj) if (WindowType == null) return; _window = (DefaultWindow) IoCManager.Resolve().CreateInstance(WindowType); + //SS220-antag-add-objective begin if (_window is not null) OnWindowCreated?.Invoke(_window); + //SS220-antag-add-objective end _window?.OpenCentered(); } }