Skip to content

Commit

Permalink
ough gun
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Jun 23, 2024
1 parent 96e1285 commit 28bb45c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/datums/components/attachment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
icon_icon = target.icon
button_icon_state = target.icon_state

/datum/action/attachment/Destroy()
. = ..()
gun = null

/datum/action/attachment/Trigger()
..()
SEND_SIGNAL(target, COMSIG_ATTACHMENT_TOGGLE, gun, owner)
Expand Down

0 comments on commit 28bb45c

Please sign in to comment.