mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
- 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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user