diff --git a/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs b/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs index bf55f988fa..8be75e5e18 100644 --- a/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs +++ b/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs @@ -24,7 +24,7 @@ namespace Content.Server.GameObjects.Components.Interactable [RegisterComponent] [ComponentReference(typeof(ToolComponent))] [ComponentReference(typeof(IToolComponent))] - public class WelderComponent : ToolComponent, IExamine, IUse, ISuicideAct + public class WelderComponent : ToolComponent, IExamine, IUse, ISuicideAct, ISolutionChange { #pragma warning disable 649 [Dependency] private IEntitySystemManager _entitySystemManager; @@ -193,7 +193,6 @@ namespace Content.Server.GameObjects.Components.Interactable if (Fuel == 0) ToggleWelderStatus(); - Dirty(); } public SuicideKind Suicide(IEntity victim, IChatManager chat) @@ -207,5 +206,10 @@ namespace Content.Server.GameObjects.Components.Interactable chat.EntityMe(victim, Loc.GetString("bashes {0:themselves} with the {1}!", victim, Owner.Name)); return SuicideKind.Brute; } + + public void SolutionChanged(SolutionChangeEventArgs eventArgs) + { + Dirty(); + } } }