Merge pull request #14050 from AssassinT90/master

Fixes Issue #14047
This commit is contained in:
tkdrg
2015-12-26 21:38:00 -03:00
+2 -2
View File
@@ -1164,13 +1164,13 @@ About the new airlock wires panel:
/obj/machinery/door/airlock/emag_act(mob/user)
if(!operating && density && hasPower() && !emagged)
operating = 1
update_icon(AIRLOCK_EMAG)
update_icon(AIRLOCK_EMAG, 1)
sleep(6)
if(qdeleted(src))
return
operating = 0
if(!open())
update_icon(AIRLOCK_CLOSED)
update_icon(AIRLOCK_CLOSED, 1)
emagged = 1
desc = "<span class='warning'>Its access panel is smoking slightly.</span>"
lights = 0