mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
Malf AI door lockdown fix (no longer locks all doors in the world, only the station's), mapfix
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user