Random runtime + icon fix

This commit is contained in:
Dip
2020-11-09 17:21:43 -03:00
parent f138e5cf53
commit cd6483bda5
2 changed files with 9 additions and 4 deletions

View File

@@ -84,7 +84,7 @@
/obj/structure/grille/attack_animal(mob/user)
. = ..()
if(!shock(user, 70))
if(!shock(user, 70) && !QDELETED(src)) //Last hit still shocks but shouldn't deal damage to the grille)
take_damage(rand(5,10), BRUTE, "melee", 1)
/obj/structure/grille/attack_paw(mob/user)