Updates locate(/obj/machinery/door/airlock) hack

This commit is contained in:
mwerezak
2015-04-29 20:53:50 -04:00
parent a80cb1b44e
commit 03e88ca9a5

View File

@@ -59,7 +59,8 @@
#endif
if(zone)
var/zone/z = zone
if(locate(/obj/machinery/door/airlock) in src) //Hacky, but prevents normal airlocks from rebuilding zones all the time
if(s_block & ZONE_BLOCKED) //Hacky, but prevents normal airlocks from rebuilding zones all the time
z.remove(src)
else
z.rebuild()