Add a message when pulsing the open wire on airlocks

This commit is contained in:
r4d6
2020-01-10 17:01:46 -05:00
parent 23a0d17d4c
commit 96c75eb5ca
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -85,6 +85,8 @@
INVOKE_ASYNC(A, /obj/machinery/door/airlock.proc/open)
else
INVOKE_ASYNC(A, /obj/machinery/door/airlock.proc/close)
else
holder.visible_message("<span class='notice'>You hear a a grinding noise coming from the airlock.</span>")
if(WIRE_BOLTS) // Pulse to toggle bolts (but only raise if power is on).
if(!A.locked)
A.bolt()