mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixes multi docking port undocking conditions
The undocking conditions for multidocking ports (used by the escape shuttle) were overly strict, failing if any door was open/unlocked. Changed to allow undocking if at least one of the inner or outer doors can close and lock.
This commit is contained in:
@@ -197,7 +197,9 @@
|
||||
|
||||
//checks if we are ready for undocking
|
||||
/datum/computer/file/embedded_program/airlock/multi_docking/proc/ready_for_undocking()
|
||||
return check_doors_secured()
|
||||
var/ext_closed = check_exterior_door_secured()
|
||||
var/int_closed = check_interior_door_secured()
|
||||
return (ext_closed || int_closed)
|
||||
|
||||
/datum/computer/file/embedded_program/airlock/multi_docking/proc/open_doors()
|
||||
toggleDoor(memory["interior_status"], tag_interior_door, memory["secure"], "open")
|
||||
|
||||
Reference in New Issue
Block a user