Stops borgs from stripping people (#8838)

This commit is contained in:
Alberyk
2020-05-11 20:00:10 -03:00
committed by GitHub
parent 0dffe4f77b
commit 0aa7a69f5d
2 changed files with 7 additions and 1 deletions
@@ -1,5 +1,5 @@
/mob/living/carbon/human/proc/handle_strip(var/slot_to_strip, var/mob/living/user)
if(!slot_to_strip || !istype(user) || ispAI(user) || (isanimal(user) && !istype(user, /mob/living/simple_animal/hostile) ) )
if(!slot_to_strip || !istype(user) || ispAI(user) || (isanimal(user) && !istype(user, /mob/living/simple_animal/hostile) ) || isrobot(user) )
return FALSE
if(user.incapacitated() || !user.Adjacent(src))