Skip to content

Commit

Permalink
Fix runtime for armoring hazard suits with no fingerprints (goonstati…
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmzeta authored Apr 27, 2024
1 parent 883bb54 commit 684c970
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/obj/item/clothing/suits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ TYPEINFO(/obj/item/clothing/suit/hazard)

boutput(user, SPAN_NOTICE("You attach [W] to [src]."))
src.armor()
if(!src.fingerprints)
src.fingerprints = list()
src.fingerprints |= W.fingerprints
qdel(W)

Expand Down

0 comments on commit 684c970

Please sign in to comment.