Merge pull request #22708 from PKPenguin321/patch-5

Fixes people getting thrown into themselves
This commit is contained in:
oranges
2017-01-05 19:10:51 +13:00
committed by GitHub
+1 -1
View File
@@ -96,7 +96,7 @@
if(hit_atom.density && isturf(hit_atom))
Weaken(1)
take_bodypart_damage(10)
if(iscarbon(hit_atom))
if(iscarbon(hit_atom) && hit_atom != src)
var/mob/living/carbon/victim = hit_atom
if(victim.movement_type & FLYING)
return