From b407d125d395834eda0d2dfe0de2545269cb729c Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Wed, 16 Jun 2021 23:26:16 -0700 Subject: [PATCH] Makes trit fires in pipenets not runtime --- code/modules/atmospherics/gasmixtures/reactions.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index b44b645251..b523d333df 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -89,7 +89,7 @@ location.temperature_expose(air, temperature, CELL_VOLUME) /proc/radiation_burn(turf/open/location, energy_released) - if(location && prob(10)) + if(istype(location) && prob(10)) radiation_pulse(location, energy_released/TRITIUM_BURN_RADIOACTIVITY_FACTOR) /datum/gas_reaction/tritfire/react(datum/gas_mixture/air, datum/holder)