From 4ebd7e0dbc7d83ea06a2153eb2368a453d5a165d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Fri, 14 Aug 2020 18:03:52 +0200 Subject: [PATCH] Welder now exposes temperature to hotspot every update. --- .../GameObjects/Components/Interactable/WelderComponent.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs b/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs index ae8ce17a3d..515ecc8e3c 100644 --- a/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs +++ b/Content.Server/GameObjects/Components/Interactable/WelderComponent.cs @@ -217,6 +217,9 @@ namespace Content.Server.GameObjects.Components.Interactable _solutionComponent?.TryRemoveReagent("chem.WeldingFuel", ReagentUnit.New(FuelLossRate * frameTime)); + Owner.Transform.GridPosition + .GetTileAtmosphere()?.HotspotExpose(700f, 50f, true); + if (Fuel == 0) ToggleWelderStatus();