From fa67917576ce39dfc7d58806b50c4200fc58c773 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Tue, 7 Jan 2025 23:13:33 +0100 Subject: [PATCH] caps fire burn temp (#9823) --- modular_chomp/code/ZAS/Fire.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_chomp/code/ZAS/Fire.dm b/modular_chomp/code/ZAS/Fire.dm index 5a87de1d7d..c0038165c9 100644 --- a/modular_chomp/code/ZAS/Fire.dm +++ b/modular_chomp/code/ZAS/Fire.dm @@ -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