Fixed Issue 504

-Door controls now check if the bolt wire is cut and if the door is powered

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4326 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
ericgfwong@hotmail.com
2012-08-06 17:09:29 +00:00
parent d897798d5c
commit a2ee0a24c3
3 changed files with 6020 additions and 6017 deletions
+3 -2
View File
@@ -68,8 +68,9 @@
if(specialfunctions & IDSCAN)
D.aiDisabledIdScanner = 0
if(specialfunctions & BOLTS)
D.locked = 0
D.update_icon()
if(!D.isWireCut(4) && D.arePowerSystemsOn())
D.locked = 0
D.update_icon()
if(specialfunctions & SHOCK)
D.secondsElectrified = 0
if(specialfunctions & SAFE)