From 5d4ada3ff209447dbef8b3ede08f5e20b3e02fa1 Mon Sep 17 00:00:00 2001 From: Squirgenheimer Date: Sat, 20 Oct 2018 21:38:33 -0400 Subject: [PATCH] adds another sanity check --- code/game/gamemodes/miniantags/guardian/types/bomb.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/miniantags/guardian/types/bomb.dm b/code/game/gamemodes/miniantags/guardian/types/bomb.dm index f8c3898ed9c..23f922687a2 100644 --- a/code/game/gamemodes/miniantags/guardian/types/bomb.dm +++ b/code/game/gamemodes/miniantags/guardian/types/bomb.dm @@ -46,7 +46,8 @@ /obj/item/guardian_bomb/proc/disable() stored_obj.forceMove(get_turf(src)) - to_chat(spawner, "Failure! Your trap on [stored_obj] didn't catch anyone this time.") + if(spawner) + to_chat(spawner, "Failure! Your trap on [stored_obj] didn't catch anyone this time.") qdel(src) /obj/item/guardian_bomb/proc/detonate(var/mob/living/user)