Fixes human/checkarmor getting the armour...

...value for the wrong body part.

Whoever put ran_zone() in there wasn't thinking straight, as it's not
going to affect the part that actually gets damaged.
This commit is contained in:
mwerezak
2014-06-19 09:39:44 -04:00
committed by ZomgPonies
parent 2bb790f381
commit 6e7139087e
3 changed files with 9 additions and 7 deletions
@@ -259,7 +259,7 @@
if(istype(target, /mob/living/carbon/human))
var/target_zone = check_zone(user.zone_sel.selecting, target)
var/target_zone = ran_zone(check_zone(user.zone_sel.selecting, target))
var/datum/organ/external/affecting = target:get_organ(target_zone)
if (!affecting)