Merge pull request #10455 from Ghommie/Ghommie-cit501

Porting some runtime fixes.
This commit is contained in:
Lin
2020-01-07 01:00:25 +00:00
committed by GitHub
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)