diff --git a/code/modules/projectiles/guns/rifles.dm b/code/modules/projectiles/guns/rifles.dm index 1d140226d7..a5e98b7d51 100644 --- a/code/modules/projectiles/guns/rifles.dm +++ b/code/modules/projectiles/guns/rifles.dm @@ -1642,7 +1642,7 @@ integrated.flags_attach_features &= ~ATTACH_REMOVABLE var/obj/item/attachable/old_barrel = attachments[integrated.slot] if(old_barrel) - old_barrel.Detach(src) + old_barrel.Detach(detaching_gub = src) qdel(old_barrel) integrated.Attach(src) update_attachable(integrated.slot)