Re-enables fermiexplosions in grenades.

This commit is contained in:
Fermi
2019-08-12 01:03:35 +01:00
parent cf44c96be9
commit 0f4469e59f
+7 -2
View File
@@ -495,7 +495,12 @@
//Standard reaction mechanics:
else
if (C.FermiChem == TRUE)//Just to make sure
return 0
if (chem_temp > C.ExplodeTemp) //To allow fermigrenades
var/datum/chemical_reaction/fermi/Ferm = selected_reaction
fermiIsReacting = FALSE
SSblackbox.record_feedback("tally", "fermi_chem", 1, ("[Ferm] explosion"))
Ferm.FermiExplode(src, my_atom, volume = total_volume, temp = chem_temp, pH = pH)
return 0
for(var/B in cached_required_reagents) //
multiplier = min(multiplier, round((get_reagent_amount(B) / cached_required_reagents[B]), 0.01))
@@ -693,7 +698,7 @@
//Make sure things are limited.
pH = CLAMP(pH, 0, 14)
//return said amount to compare for next step.
return (reactedVol)