bugfix for machines so attack_hand's mob typechecks actually work right is usr is not user (most likely if usr isn't set)

This commit is contained in:
Tastyfish
2012-02-05 06:34:19 -05:00
parent 35ae4bd5f3
commit 11a884ca35
+3 -3
View File
@@ -175,9 +175,9 @@ Class Procs:
return 1
if(user.lying || user.stat)
return 1
if ( ! (istype(usr, /mob/living/carbon/human) || \
istype(usr, /mob/living/silicon) || \
istype(usr, /mob/living/carbon/monkey) && ticker && ticker.mode.name == "monkey") )
if ( ! (istype(user, /mob/living/carbon/human) || \
istype(user, /mob/living/silicon) || \
istype(user, /mob/living/carbon/monkey) && ticker && ticker.mode.name == "monkey") )
usr << "\red You don't have the dexterity to do this!"
return 1
/*