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-18 10:05:04 -04:00
parent 1be8fd948f
commit 5a3c7dc432
3 changed files with 9 additions and 7 deletions

View File

@@ -236,7 +236,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)