Malf AI door lockdown fix (no longer locks all doors in the world, only the station's), mapfix

This commit is contained in:
Markolie
2015-01-12 04:06:08 +01:00
parent 893bfe909c
commit da3a1e1769
2 changed files with 13402 additions and 13399 deletions
@@ -92,6 +92,8 @@ rcd light flash thingy on matter drain
for(var/obj/machinery/door/D in airlocks)
spawn()
if(istype(D, /obj/machinery/door/airlock))
if(D.z != 1)
continue
AL = D
if(AL.canAIControl() && !AL.stat) //Must be powered and have working AI wire.
AL.locked = 0 //For airlocks that were bolted open.