mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Air alarm fixes and addition of civilian EVA on z1
This commit is contained in:
@@ -69,7 +69,8 @@
|
||||
|
||||
// STEP 2 - Take the CO2 out of the input!
|
||||
var/power_draw = scrub_gas(src, list(input_gas), air1, internal, moles_to_convert)
|
||||
network1.update = 1
|
||||
if(network1)
|
||||
network1.update = 1
|
||||
if (power_draw > 0)
|
||||
use_power(power_draw)
|
||||
last_power_draw += power_draw
|
||||
@@ -90,7 +91,8 @@
|
||||
// STEP 5 - Output the converted oxygen. Fow now we output for free!
|
||||
internal.adjust_gas(input_gas, -converted_moles)
|
||||
air2.adjust_gas_temp(output_gas, converted_moles, internal.temperature)
|
||||
network2.update = 1
|
||||
if(network2)
|
||||
network2.update = 1
|
||||
recent_moles_transferred = converted_moles
|
||||
ui_error = null // Success!
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user