Skip to content

Commit

Permalink
Fixes potential bugs with #6254 (#6273)
Browse files Browse the repository at this point in the history
# About the pull request
Fixes potential bugs with #6254

# Explain why it's good for the game
Fixes potential bugs with #6254


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl: ihatethisengine
fix: fixed potential bugs with transparent infection icon
/:cl:
  • Loading branch information
ihatethisengine committed May 13, 2024
1 parent d3bfe06 commit 452d4fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/datums/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
holder3.color = null
holder4.color = null

holder2.alpha = alpha
holder3.alpha = alpha

holder4.icon_state = "hudblank"

if(species && species.flags & IS_SYNTHETIC)
Expand Down Expand Up @@ -425,9 +428,7 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
if(stat == DEAD || status_flags & FAKEDEATH)
holder2.alpha = 100
holder3.alpha = 100
else
holder2.alpha = 255
holder3.alpha = 255

if(status_flags & CORRUPTED_ALLY)
holder4.color = "#80ff80"
holder4.icon_state = "hudalien_ally"
Expand Down

0 comments on commit 452d4fa

Please sign in to comment.