Skip to content

Commit

Permalink
fixes bandanas (#11370)
Browse files Browse the repository at this point in the history
the game doesn't like missing sprites
  • Loading branch information
PatienceStPim authored Sep 8, 2024
1 parent 0a281c1 commit d808976
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions code/modules/clothing/masks/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@

/obj/item/clothing/mask/bandana/attack_self(mob/user)
adjustmask(user)
if (mask_adjusted)
worn_icon = 'icons/mob/clothing/head/costume.dmi'
else
worn_icon = 'icons/mob/clothing/mask.dmi'

/obj/item/clothing/mask/bandana/AltClick(mob/user)
if(!user.canUseTopic(src, BE_CLOSE))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/neck/_neck.dm
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
icon_state = "cross"

/obj/item/clothing/neck/neckerchief
icon = 'icons/obj/clothing/masks.dmi' //In order to reuse the bandana sprite
worn_icon = "empty_bandana"
w_class = WEIGHT_CLASS_TINY
var/sourceBandanaType

Expand Down
Binary file modified icons/mob/clothing/neck.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/neck.dmi
Binary file not shown.

0 comments on commit d808976

Please sign in to comment.