Blast doors don't open on power restore if they were originally closed. (#13233)

This commit is contained in:
mikomyazaki
2022-02-25 17:30:31 +00:00
committed by GitHub
parent 61e04a5d83
commit 9b14cd3c23
2 changed files with 7 additions and 1 deletions

View File

@@ -188,7 +188,7 @@
return
if(stat & NOPOWER)
INVOKE_ASYNC(src, /obj/machinery/door/blast/.proc/force_close)
securitylock = TRUE
securitylock = !density // blast doors will only re-open when power is restored if they were open originally
else if(securitylock)
INVOKE_ASYNC(src, /obj/machinery/door/blast/.proc/force_open)
securitylock = FALSE

View File

@@ -0,0 +1,6 @@
author: mikomyazaki
delete-after: True
changes:
- tweak: "Blast doors without power will only open when power is restored if they were originally open."