mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Fixes airlocks being stuck if they run out of air
This commit is contained in:
@@ -116,11 +116,15 @@
|
|||||||
cycleDoors(TARGET_INOPEN)
|
cycleDoors(TARGET_INOPEN)
|
||||||
|
|
||||||
if("abort")
|
if("abort")
|
||||||
|
stop_cycling()
|
||||||
|
/*
|
||||||
|
//dont do this. If the airlock can't get enough air to pressurize the person inside is stuck
|
||||||
state = STATE_PRESSURIZE
|
state = STATE_PRESSURIZE
|
||||||
target_state = TARGET_NONE
|
target_state = TARGET_NONE
|
||||||
memory["target_pressure"] = ONE_ATMOSPHERE
|
memory["target_pressure"] = ONE_ATMOSPHERE
|
||||||
signalPump(tag_airpump, 1, 1, memory["target_pressure"])
|
signalPump(tag_airpump, 1, 1, memory["target_pressure"])
|
||||||
process()
|
process()
|
||||||
|
*/
|
||||||
|
|
||||||
if("force_ext")
|
if("force_ext")
|
||||||
toggleDoor(memory["exterior_status"], tag_exterior_door, memory["secure"], "toggle")
|
toggleDoor(memory["exterior_status"], tag_exterior_door, memory["secure"], "toggle")
|
||||||
|
|||||||
Reference in New Issue
Block a user