diff --git a/Content.Client/Tools/UI/WelderStatusControl.cs b/Content.Client/Tools/UI/WelderStatusControl.cs index f1c5999453..af81a28f62 100644 --- a/Content.Client/Tools/UI/WelderStatusControl.cs +++ b/Content.Client/Tools/UI/WelderStatusControl.cs @@ -17,11 +17,11 @@ public sealed class WelderStatusControl : Control private readonly ItemToggleComponent? _toggleComponent; private readonly RichTextLabel _label; - public WelderStatusControl(WelderComponent parent, EntityUid? uid = null) + public WelderStatusControl(Entity parent) { _parent = parent; _entMan = IoCManager.Resolve(); - if (_entMan.TryGetComponent(uid, out var itemToggle)) + if (_entMan.TryGetComponent(parent, out var itemToggle)) _toggleComponent = itemToggle; _label = new RichTextLabel { StyleClasses = { StyleNano.StyleClassItemStatus } }; AddChild(_label);