From 452d4faaaad26ad31e86eb8e626e6ec224d53f03 Mon Sep 17 00:00:00 2001 From: ihatethisengine <115417687+ihatethisengine@users.noreply.github.com> Date: Mon, 13 May 2024 04:16:44 +0300 Subject: [PATCH] Fixes potential bugs with #6254 (#6273) # 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
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: ihatethisengine fix: fixed potential bugs with transparent infection icon /:cl: --- code/datums/mob_hud.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/datums/mob_hud.dm b/code/datums/mob_hud.dm index 437d0e6a662d..975bd5d15cb9 100644 --- a/code/datums/mob_hud.dm +++ b/code/datums/mob_hud.dm @@ -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) @@ -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"