Merge pull request #10952 from Citadel-Station-13/kevinz000-patch-11

gun qdel fix
This commit is contained in:
Ghom
2020-02-09 02:53:38 +01:00
committed by GitHub
+8 -4
View File
@@ -86,10 +86,14 @@
azoom = new (src)
/obj/item/gun/Destroy()
QDEL_NULL(pin)
QDEL_NULL(gun_light)
QDEL_NULL(bayonet)
QDEL_NULL(chambered)
if(pin)
QDEL_NULL(pin)
if(gun_light)
QDEL_NULL(gun_light)
if(bayonet)
QDEL_NULL(bayonet)
if(chambered)
QDEL_NULL(chambered)
return ..()
/obj/item/gun/CheckParts(list/parts_list)