refueling lit welder explosion fix (#23469)

* refueling lit welder explosion fix

* add DamgeOnToolInteract to wall dispenser
This commit is contained in:
themias
2024-01-03 16:23:36 -05:00
committed by GitHub
parent 868622a6d2
commit 0235b196dc
2 changed files with 7 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ namespace Content.Server.Damage.Systems
if (args.Handled)
return;
if (!TryComp<ItemToggleComponent>(uid, out var itemToggle))
if (!TryComp<ItemToggleComponent>(args.Used, out var itemToggle))
return;
if (component.WeldingDamage is {} weldingDamage