Skip to content

Commit

Permalink
Fix accessories being added to pockets (#8331)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirRichardFrancis authored Oct 6, 2023
1 parent 4ce31ca commit ccdbcf9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion code/modules/clothing/spacesuits/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@
..(over_object)

/obj/item/clothing/suit/space/medicus/attackby(obj/item/W, mob/user)
if(!istype(W, /obj/item/clothing/accessory)) // Do not put accessories into pockets
pockets.attackby(W, user)
..()
pockets.attackby(W, user)
3 changes: 2 additions & 1 deletion code/modules/clothing/spacesuits/void/station.dm
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,9 @@
..(over_object)

/obj/item/clothing/suit/space/void/riggedvoidsuit/attackby(obj/item/W, mob/user)
if(!istype(W, /obj/item/clothing/accessory)) // Do not put accessories into pockets
pockets.attackby(W, user)
..()
pockets.attackby(W, user)

/obj/item/clothing/suit/space/void/riggedvoidsuit/emp_act(severity)
pockets.emp_act(severity)
Expand Down
3 changes: 2 additions & 1 deletion code/modules/clothing/suits/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
..(over_object)

/obj/item/clothing/suit/storage/attackby(obj/item/W, mob/user)
if(!istype(W, /obj/item/clothing/accessory)) // Do not put accessories into pockets
pockets.attackby(W, user)
..()
pockets.attackby(W, user)

/obj/item/clothing/suit/storage/emp_act(severity)
pockets.emp_act(severity)
Expand Down

0 comments on commit ccdbcf9

Please sign in to comment.