Merge pull request #52336 from ShizCalev/fixes-gun-message-runtime

Fixes gun message runtime if the target was qdel'd
This commit is contained in:
skoglol
2020-07-21 17:48:57 +02:00
committed by GitHub
+1 -1
View File
@@ -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