refueling lit welder explosion fix (#23469)
* refueling lit welder explosion fix * add DamgeOnToolInteract to wall dispenser (cherry picked from commit 0235b196dc456c0afdf3c3e5b47dad9009ad6686)
This commit is contained in:
parent
3fd75367f4
commit
4dc1cd99a7
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -81,3 +81,9 @@
|
|||
Quantity: 1000
|
||||
- type: ReagentTank
|
||||
tankType: Fuel
|
||||
- type: DamageOnToolInteract
|
||||
tools:
|
||||
- Welding
|
||||
weldingDamage:
|
||||
types:
|
||||
Heat: 20
|
||||
Loading…
Reference in New Issue