- Fixed issue 657. Attacking someone at a distance (using TK) will no longer make you get smeared in their blood.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4458 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-17 04:18:08 +00:00
parent 9062d7fb23
commit f3996dfc5e

View File

@@ -140,6 +140,7 @@ emp_act
location.add_blood(src) location.add_blood(src)
if(ishuman(user)) if(ishuman(user))
var/mob/living/carbon/human/H = user var/mob/living/carbon/human/H = user
if(get_dist(H, src) > 1) //people with TK won't get smeared with blood
if(H.wear_suit) if(H.wear_suit)
H.wear_suit.add_blood(src) H.wear_suit.add_blood(src)
H.update_inv_wear_suit(0) //updates mob overlays to show the new blood (no refresh) H.update_inv_wear_suit(0) //updates mob overlays to show the new blood (no refresh)