mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Fixes numerous bugs from the Runtimes topic, more sanity checking on pipes and atmos stuff for the new FEA.
This commit is contained in:
@@ -42,6 +42,7 @@ obj/machinery/atmospherics/unary/oxygen_generator
|
||||
|
||||
air_contents.temperature = (current_heat_capacity*air_contents.temperature + 20*added_oxygen*T0C)/(current_heat_capacity+20*added_oxygen)
|
||||
air_contents.oxygen += added_oxygen
|
||||
air_contents.update_values()
|
||||
|
||||
if(network)
|
||||
network.update = 1
|
||||
|
||||
@@ -124,6 +124,7 @@
|
||||
|
||||
//Remix the resulting gases
|
||||
filtered_out.update_values()
|
||||
removed.update_values()
|
||||
air_contents.merge(filtered_out)
|
||||
|
||||
loc.assume_air(removed)
|
||||
|
||||
Reference in New Issue
Block a user