This commit is contained in:
Zuhayr
2014-12-13 22:37:22 +10:30
parent 0ce52b086a
commit 02fefbff54
2 changed files with 2 additions and 2 deletions
@@ -147,7 +147,7 @@
usr << "<span class='warning'>The suit is not initialized.</span>"
return 0
if(holder.security_check_enabled && !(istype(usr,/mob/living/silicon) || holder.allowed(usr)))
if(holder.security_check_enabled && !holder.check_suit_access(usr))
usr << "<span class='danger'>Access denied.</span>"
return
+1 -1
View File
@@ -278,7 +278,7 @@
module.deactivate()
for(var/obj/item/piece in list(helmet,boots,gloves,chest))
if(!piece) continue
if(canremove && (flags & AIRTIGHT))
if(canremove)
piece.flags &= ~STOPSPRESSUREDMAGE
piece.flags &= ~AIRTIGHT
else