Fire now uses the full zone size when considering the minimum amount of phoron/oxygen required to sustain a fire

Fixes an oversight that made fires able to burn with a smaller amount of phoron than they should.
This commit is contained in:
mwerezak
2015-07-26 22:47:18 -04:00
parent d99e43c94c
commit e8db7dc8d8

View File

@@ -295,7 +295,7 @@ turf/proc/hotspot_expose(exposed_temperature, exposed_volume, soh = 0)
//if the reaction is progressing too slow then it isn't self-sustaining anymore and burns out
if(zone) //be less restrictive with canister and tank reactions
if((!liquid_fuel || used_fuel <= FIRE_LIQUD_MIN_BURNRATE) && (!gas_fuel || used_fuel <= FIRE_GAS_MIN_BURNRATE*group_multiplier))
if((!liquid_fuel || used_fuel <= FIRE_LIQUD_MIN_BURNRATE) && (!gas_fuel || used_fuel <= FIRE_GAS_MIN_BURNRATE*zone.contents.len))
return 0