Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
bearrrrrrrr committed Jan 16, 2024
1 parent 77629c1 commit 01c612a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/rifles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01c612a

Please sign in to comment.