mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-13 00:47:42 +01:00
airlocks rotate with windows too.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user