mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes a few runtimes (#12893)
* Some runtime fixes * fixes #12892 * Alternative fix. Better behaviour * qdel atmos thingy when loc is null * Eye colour init protection * Whoops. Forgotten / * Suggestions update * Fixed a runtime where IPCs losing their arms would cause a runtime in the hand * Fixes mobs being able to nuzzle a grill to dead and a runtime there * Added extra logging to the NPCpools
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
|
||||
/obj/structure/grille/attack_animal(mob/user)
|
||||
. = ..()
|
||||
if(!shock(user, 70))
|
||||
if(. && !QDELETED(src) && !shock(user, 70))
|
||||
take_damage(rand(5,10), BRUTE, "melee", 1)
|
||||
|
||||
/obj/structure/grille/hulk_damage()
|
||||
|
||||
Reference in New Issue
Block a user