From b621445a47c9a3a99e2efb5596670db3a291c526 Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Sun, 19 Jul 2020 04:33:51 -0400 Subject: [PATCH] Fixes gun message runtime --- code/modules/projectiles/gun.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index a1f58f00d6f..8b3860edab4 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -179,7 +179,7 @@ /obj/item/gun/afterattack(atom/target, mob/living/user, flag, params) . = ..() - if(!target) + if(QDELETED(target)) return if(firing_burst) return