From d001652edcd907b4ee9933e2b08a6531b4c865f7 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Fri, 15 Jul 2022 09:03:17 +1200 Subject: [PATCH] Fix bricked welding component (#9741) --- Content.Server/Tools/Systems/WeldableSystem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Server/Tools/Systems/WeldableSystem.cs b/Content.Server/Tools/Systems/WeldableSystem.cs index 319030b89c..37118563e9 100644 --- a/Content.Server/Tools/Systems/WeldableSystem.cs +++ b/Content.Server/Tools/Systems/WeldableSystem.cs @@ -60,8 +60,7 @@ public sealed class WeldableSystem : EntitySystem if (!CanWeld(uid, tool, user, component)) return false; - component.BeingWelded = true; - _toolSystem.UseTool(tool, user, uid, component.FuelConsumption, + component.BeingWelded = _toolSystem.UseTool(tool, user, uid, component.FuelConsumption, component.WeldingTime.Seconds, component.WeldingQuality, new WeldFinishedEvent(user, tool), new WeldCancelledEvent(), uid);