Stopped glass shards from proning mobs with NO_PAIN.

This commit is contained in:
Zuhayr
2014-12-28 17:32:55 +10:30
parent 8d7b68d1f5
commit fabee2fdf8
+2 -1
View File
@@ -83,10 +83,11 @@
var/datum/organ/external/affecting = H.get_organ(pick("l_foot", "r_foot"))
if(affecting.status & ORGAN_ROBOT)
return
H.Weaken(3)
if(affecting.take_damage(5, 0))
H.UpdateDamageIcon()
H.updatehealth()
if(!(H.species & NO_PAIN))
H.Weaken(3)
..()
// Shrapnel