From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 13 Feb 2023 06:33:53 +0000 (+1300) Subject: rename GetOrNewWidget (#14079) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=236ce690621eb3f3a5f1983e2460b5b4f020a838;p=space-station-14.git rename GetOrNewWidget (#14079) --- diff --git a/Content.Client/Suspicion/SuspicionRoleComponent.cs b/Content.Client/Suspicion/SuspicionRoleComponent.cs index c0a98512cb..d95ee7edf9 100644 --- a/Content.Client/Suspicion/SuspicionRoleComponent.cs +++ b/Content.Client/Suspicion/SuspicionRoleComponent.cs @@ -107,7 +107,7 @@ namespace Content.Client.Suspicion public void AddUI() { // TODO move this out of the component - _gui = _ui.ActiveScreen?.GetOrNewWidget(); + _gui = _ui.ActiveScreen?.GetOrAddWidget(); _gui!.UpdateLabel(); SetAnchorAndMarginPreset(_gui, LayoutPreset.BottomLeft);