mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
caps fire burn temp (#9823)
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
if(air_contents.temperature < FIRE_MAX_TEMP) // May as well limit this
|
||||
var/starting_energy = air_contents.temperature * air_contents.heat_capacity()
|
||||
if(starting_energy > 0)
|
||||
air_contents.temperature = (starting_energy + vsc.fire_fuel_energy_release * (gas_exchange * 1.05)) / air_contents.heat_capacity()
|
||||
air_contents.temperature = min((starting_energy + vsc.fire_fuel_energy_release * (gas_exchange * 1.05)) / air_contents.heat_capacity(), FIRE_MAX_TEMP)
|
||||
air_contents.update_values()
|
||||
|
||||
// Affect contents
|
||||
|
||||
Reference in New Issue
Block a user