airlocks rotate with windows too.

This commit is contained in:
QuoteFox
2021-04-23 18:36:32 +01:00
parent d7cf4568f8
commit 98ecc34a47
+4
View File
@@ -164,10 +164,14 @@
var/turf/T = get_step(src, NORTH) //get the tile NORTH
if(istype(T, /turf/closed)) //its a wall
dir = 4
if(istype(T, /obj/structure/window)) //its a window
dir = 4
var/turf/S = get_step(src, SOUTH) //get the tile NORTH
if(istype(S, /turf/closed)) //its a wall
dir = 4
if(istype(S, /obj/structure/window)) //its a window
dir = 4
/obj/machinery/door/airlock/ComponentInitialize()