Skip to content

Commit

Permalink
temperatuer change
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Oct 8, 2024
1 parent 59d9a31 commit 4ccaf5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/atmospherics/machinery/pipeline.dm
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,16 @@
// calculated after snowflake heat exchanger temperature is checked
var/our_energy = our_heat_capacity * air.temperature

var/energy_shared = target.air_thermal_superconduction(
var/temperature_change = target.air_thermal_superconduction(
air.temperature,
our_heat_capacity,
share_volume / air.volume,
equalize_ratio,
cell_limit,
)

if(energy_shared != 0)
air.adjust_thermal_energy(energy_shared)
if(temperature_change != 0)
air.temperature += temperature_change
anything_changed = TRUE

if(anything_changed)
Expand Down

0 comments on commit 4ccaf5e

Please sign in to comment.