From 236ce690621eb3f3a5f1983e2460b5b4f020a838 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 13 Feb 2023 19:33:53 +1300 Subject: [PATCH] rename GetOrNewWidget (#14079) --- Content.Client/Suspicion/SuspicionRoleComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.52.0