Skip to content

Commit

Permalink
fixes some coats not having a sprite while the hood is up (Citadel-St…
Browse files Browse the repository at this point in the history
…ation-13#6624)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

<!-- Argue for the merits of your changes and how they benefit the game,
especially if they are controversial and/or far reaching. If you can't
actually explain WHY what you are doing will improve the game, then it
probably isn't good for the game in the first place. -->

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

:cl:
fix: fixed some hooded coats not being visble while the hood is up
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
TheLordME authored Jul 31, 2024
1 parent 5134116 commit c377ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/clothing/suits/hooded.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
H.equip_to_slot_if_possible(hood, SLOT_ID_HEAD)
hood_up = TRUE
ADD_TRAIT(hood, TRAIT_ITEM_NODROP, CLOTHING_TRAIT)
icon_state = "[toggleicon]-t"
icon_state = ("[toggleicon]-t" in icon_states(icon)) ? "[toggleicon]-t" : toggleicon
update_worn_icon()
else
RemoveHood()
Expand Down

0 comments on commit c377ae9

Please sign in to comment.