Porting some runtime fixes.

This commit is contained in:
Ghommie
2020-01-06 02:14:25 +01:00
parent 53747013ee
commit dcb2ae77fa
5 changed files with 21 additions and 17 deletions
+1 -1
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)