Removed the MASKINTERNALS from /obj/item/clothing/mask flags. There is no reason for -every- mask to act as internals.

Added an issilicon() check to the PDA's remove id/pen verbs so that the AI can no longer be rendered helpless if they happen to click the 'Remove Pen' verb. Fixes issue 1124.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5186 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
johnsonmt88@gmail.com
2012-11-25 04:01:54 +00:00
parent da8fcbc037
commit 8ae9dfd947
2 changed files with 6 additions and 1 deletions
@@ -782,6 +782,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
set name = "Remove id"
set src in usr
if(issilicon(usr))
return
if ( !(usr.stat || usr.restrained()) )
if(id)
remove_id()
@@ -796,6 +799,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
set name = "Remove pen"
set src in usr
if(issilicon(usr))
return
if ( !(usr.stat || usr.restrained()) )
var/obj/item/weapon/pen/O = locate() in src
if(O)