sparks will not ignire things in enclosed container, also slime extracts are enclosed containers (#91779)

## About The Pull Request
title
closes https://github.com/tgstation/tgstation/issues/91749
## Changelog
🆑
fix: sparks will no longer ignite reagents in enclosed containers
/🆑
This commit is contained in:
grungussuss
2025-07-01 14:34:01 +01:00
committed by GitHub
parent 5625b0adf4
commit eb9696dd1b
4 changed files with 6 additions and 8 deletions
@@ -75,9 +75,9 @@
SEND_SIGNAL(singed, COMSIG_ATOM_TOUCHED_SPARKS, src)
if(isobj(singed))
if(singed.reagents)
var/datum/reagents/reagents = singed.reagents // heat up things that contain reagents before we check to see if they burn
reagents?.expose_temperature(1000) // we set this at 1000 because that's the max reagent temp for a chem heater, higher temps require more than sparks
var/datum/reagents/reagents = singed.reagents // heat up things that contain reagents before we check to see if they burn
if(reagents && !(reagents.flags & SEALED_CONTAINER))
reagents.expose_temperature(1000) // we set this at 1000 because that's the max reagent temp for a chem heater, higher temps require more than sparks
return
if(ishuman(singed))
var/mob/living/carbon/human/singed_human = singed
@@ -87,8 +87,6 @@
/datum/effect_system/spark_spread
effect_type = /obj/effect/particle_effect/sparks
/datum/effect_system/spark_spread/quantum
effect_type = /obj/effect/particle_effect/sparks/quantum