Skip to content

Commit

Permalink
hurt them
Browse files Browse the repository at this point in the history
  • Loading branch information
XDTM committed Apr 22, 2017
1 parent e996dbd commit 7daa26a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/mob/living/carbon/alien/special/facehugger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@

/obj/item/clothing/mask/facehugger/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
..()
if(integrity < 90)
if(obj_integrity < 90)
Die()

/obj/item/clothing/mask/facehugger/attackby(obj/item/O,mob/m, params)
return O.attack_obj(src, user)

/obj/item/clothing/mask/facehugger/attack_alien(mob/user) //can be picked up by aliens
attack_hand(user)
return
Expand Down

0 comments on commit 7daa26a

Please sign in to comment.