mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
no energy, no fire (#9788)
This commit is contained in:
@@ -85,7 +85,8 @@
|
||||
// Limit max lingering fire temp gain, or engines melt
|
||||
if(air_contents.temperature < FIRE_MAX_TEMP) // May as well limit this
|
||||
var/starting_energy = air_contents.temperature * air_contents.heat_capacity()
|
||||
air_contents.temperature = (starting_energy + vsc.fire_fuel_energy_release * (gas_exchange * 1.05)) / 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.update_values()
|
||||
|
||||
// Affect contents
|
||||
|
||||
Reference in New Issue
Block a user