mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user