Skip to content

Commit 3249bc6

Browse files
authored
fix (#957)
1 parent 3559fa2 commit 3249bc6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

code/modules/reagents/chemistry/recipes/pyrotechnics.dm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
reaction_flags = REACTION_INSTANT
377377

378378
/datum/chemical_reaction/pyrosium_oxygen/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
379-
holder.chem_temp += 10*created_volume
379+
holder.expose_temperature(holder.chem_temp + (10 * created_volume), 1)
380380

381381
/datum/chemical_reaction/pyrosium
382382
results = list(/datum/reagent/pyrosium = 3)
@@ -388,8 +388,7 @@
388388
thermic_constant = 0
389389

390390
/datum/chemical_reaction/pyrosium/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
391-
holder.chem_temp = 20 // also cools the fuck down
392-
return
391+
holder.expose_temperature(20, 1) // also cools the fuck down
393392

394393
/datum/chemical_reaction/reagent_explosion/nitrous_oxide
395394
required_reagents = list(/datum/reagent/nitrous_oxide = 1)

0 commit comments

Comments
 (0)