mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
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:
@@ -648,9 +648,11 @@ About the new airlock wires panel:
|
|||||||
else
|
else
|
||||||
flick("door_closing", src)
|
flick("door_closing", src)
|
||||||
if("spark")
|
if("spark")
|
||||||
flick("door_spark", src)
|
if(density)
|
||||||
|
flick("door_spark", src)
|
||||||
if("deny")
|
if("deny")
|
||||||
flick("door_deny", src)
|
if(density)
|
||||||
|
flick("door_deny", src)
|
||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/door/airlock/attack_ai(mob/user as mob)
|
/obj/machinery/door/airlock/attack_ai(mob/user as mob)
|
||||||
|
|||||||
Reference in New Issue
Block a user