diff --git a/Content.Server/Damage/Systems/DamageOnToolInteractSystem.cs b/Content.Server/Damage/Systems/DamageOnToolInteractSystem.cs index cac59f9b75..264ec4a8ec 100644 --- a/Content.Server/Damage/Systems/DamageOnToolInteractSystem.cs +++ b/Content.Server/Damage/Systems/DamageOnToolInteractSystem.cs @@ -27,7 +27,7 @@ namespace Content.Server.Damage.Systems if (args.Handled) return; - if (!TryComp(uid, out var itemToggle)) + if (!TryComp(args.Used, out var itemToggle)) return; if (component.WeldingDamage is {} weldingDamage diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/walldispenser.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/walldispenser.yml index fae044e729..4d0e3cb532 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/walldispenser.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/walldispenser.yml @@ -81,3 +81,9 @@ Quantity: 1000 - type: ReagentTank tankType: Fuel + - type: DamageOnToolInteract + tools: + - Welding + weldingDamage: + types: + Heat: 20 \ No newline at end of file