Skip to content

Commit

Permalink
Merge pull request #25853 from DeityLink/20200216-EffectThrowFix
Browse files Browse the repository at this point in the history
Fixed mobs getting damaged by massless effects getting thrown around by explosions
  • Loading branch information
jknpj committed Feb 16, 2020
2 parents f6c4dfc + 3a9a87c commit 45c096e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/living_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
return
if(flags & INVULNERABLE)
return
if(istype(AM,/obj/))
if(istype(AM,/obj/) && !istype(AM,/obj/effect/effect/))
var/obj/O = AM
var/zone = ran_zone(LIMB_CHEST,75)//Hits a random part of the body, geared towards the chest
var/dtype = BRUTE
Expand Down

0 comments on commit 45c096e

Please sign in to comment.