Skip to content

Commit

Permalink
Mirror "Suit storages qdel pockets on Destroy()" (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doubleumc committed Aug 20, 2024
1 parent 704d00b commit 4b6e89c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/clothing/suits/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
pockets.max_storage_space = 4
flags_atom |= USES_HEARING

/obj/item/clothing/suit/storage/Destroy()
QDEL_NULL(pockets)
return ..()

/obj/item/clothing/suit/storage/get_pockets()
if(pockets)
return pockets
Expand Down

0 comments on commit 4b6e89c

Please sign in to comment.