mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
Fixes .inf fire
Credit to Kashargul for code.
This commit is contained in:
+2
-1
@@ -307,7 +307,8 @@ If it gains pressure too slowly, it may leak or just rupture instead of explodin
|
||||
zone.remove_liquidfuel(used_liquid_fuel, !check_combustability())
|
||||
|
||||
//calculate the energy produced by the reaction and then set the new temperature of the mix
|
||||
temperature = (starting_energy + vsc.fire_fuel_energy_release * (used_gas_fuel + used_liquid_fuel)) / heat_capacity()
|
||||
if(heat_capacity() > 0)
|
||||
temperature = min((starting_energy + vsc.fire_fuel_energy_release * (used_gas_fuel + used_liquid_fuel)) / heat_capacity(), MAX_ATMOS_TEMPERATURE)
|
||||
update_values()
|
||||
|
||||
#ifdef FIREDBG
|
||||
|
||||
Reference in New Issue
Block a user