Merge pull request #4867 from Citadel-Station-13/upstream-merge-34479

[MIRROR] newly built air alarms now start unlocked too, this isn't powercreep this is quality of life
This commit is contained in:
LetterJay
2018-01-16 13:48:26 -06:00
committed by GitHub
@@ -687,7 +687,7 @@
if(istype(W, /obj/item/stack/cable_coil))
var/obj/item/stack/cable_coil/cable = W
if(cable.get_amount() < 5)
to_chat(user, "<span class='warning'>You need five lengths of cable to wire the fire alarm!</span>")
to_chat(user, "<span class='warning'>You need five lengths of cable to wire the air alarm!</span>")
return
user.visible_message("[user.name] wires the air alarm.", \
"<span class='notice'>You start wiring the air alarm...</span>")
@@ -697,7 +697,7 @@
to_chat(user, "<span class='notice'>You wire the air alarm.</span>")
wires.repair()
aidisabled = 0
locked = TRUE
locked = FALSE
mode = 1
shorted = 0
post_alert(0)