Fixes airlock icon state/animation weirdness

door_spark and door_deny icon states are usually of a closed door, so it
looks glitchy if they are used when the door is open (such as by pulsing
the ID scan wire).
This commit is contained in:
mwerezak
2014-08-16 21:04:06 -04:00
parent d8b6aecc32
commit e1fb63f6e7

View File

@@ -648,9 +648,11 @@ About the new airlock wires panel:
else
flick("door_closing", src)
if("spark")
flick("door_spark", src)
if(density)
flick("door_spark", src)
if("deny")
flick("door_deny", src)
if(density)
flick("door_deny", src)
return
/obj/machinery/door/airlock/attack_ai(mob/user as mob)