mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Don't do fancy dir checks in firelocks, just close 'em all
This commit is contained in:
@@ -188,13 +188,13 @@
|
|||||||
/turf/open/proc/consider_firelocks(turf/T2)
|
/turf/open/proc/consider_firelocks(turf/T2)
|
||||||
var/reconsider_adj = FALSE
|
var/reconsider_adj = FALSE
|
||||||
for(var/obj/machinery/door/firedoor/FD in T2)
|
for(var/obj/machinery/door/firedoor/FD in T2)
|
||||||
if((FD.flags_1 & ON_BORDER_1) && get_dir(T2, src) != FD.dir)
|
/*if((FD.flags_1 & ON_BORDER_1) && get_dir(T2, src) != FD.dir)
|
||||||
continue
|
continue*/
|
||||||
FD.emergency_pressure_stop()
|
FD.emergency_pressure_stop()
|
||||||
reconsider_adj = TRUE
|
reconsider_adj = TRUE
|
||||||
for(var/obj/machinery/door/firedoor/FD in src)
|
for(var/obj/machinery/door/firedoor/FD in src)
|
||||||
if((FD.flags_1 & ON_BORDER_1) && get_dir(src, T2) != FD.dir)
|
/*if((FD.flags_1 & ON_BORDER_1) && get_dir(src, T2) != FD.dir)
|
||||||
continue
|
continue*/
|
||||||
FD.emergency_pressure_stop()
|
FD.emergency_pressure_stop()
|
||||||
reconsider_adj = TRUE
|
reconsider_adj = TRUE
|
||||||
if(reconsider_adj)
|
if(reconsider_adj)
|
||||||
|
|||||||
Reference in New Issue
Block a user