mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 00:20:42 +01:00
Fixes pressure regulator mode
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
pressure_delta = target_pressure - output_starting_pressure
|
||||
|
||||
var/flowing_old = flowing
|
||||
if((REGULATE_NONE || pressure_delta > 0.01) && (air1.temperature > 0 || air2.temperature > 0)) //since it's basically a valve, it makes sense to check both temperatures
|
||||
if((regulate_mode == REGULATE_NONE || pressure_delta > 0.01) && (air1.temperature > 0 || air2.temperature > 0)) //since it's basically a valve, it makes sense to check both temperatures
|
||||
flowing = 1
|
||||
|
||||
//flow rate limit
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
Valve:
|
||||
</div>
|
||||
<div class="itemContent">
|
||||
{{:helper.link(data.on? 'Open' : 'Closed', null, {'toggle_valve' : 1})}}
|
||||
{{:helper.link(data.on? 'Unlocked' : 'Closed', null, {'toggle_valve' : 1})}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user