rename GetOrNewWidget (#14079)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user