]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
rename GetOrNewWidget (#14079)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Mon, 13 Feb 2023 06:33:53 +0000 (19:33 +1300)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2023 06:33:53 +0000 (06:33 +0000)
Content.Client/Suspicion/SuspicionRoleComponent.cs

index c0a98512cb13938166dff8657ffd7d5965abc64f..d95ee7edf92717330647543801ea324bf64e39b6 100644 (file)
@@ -107,7 +107,7 @@ namespace Content.Client.Suspicion
         public void AddUI()
         {
             // TODO move this out of the component
-            _gui = _ui.ActiveScreen?.GetOrNewWidget<SuspicionGui>();
+            _gui = _ui.ActiveScreen?.GetOrAddWidget<SuspicionGui>();
             _gui!.UpdateLabel();
             SetAnchorAndMarginPreset(_gui, LayoutPreset.BottomLeft);