From 19aa5d8033759d8f91466249f047e851a088b47d Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Sat, 1 Jun 2024 13:08:02 -0400 Subject: [PATCH] [MIRROR] [NO GBP] fixes positive viruses being hidden (#2773) * [NO GBP] fixes positive viruses being hidden (#83576) ## About The Pull Request #83459 made stealth a function of being equal to or higher than severity which made a lot of previously visible positive viruses hidden. Unintended behavior, fixes it. ## Why It's Good For The Game fix good, most people without HUDs can't see these anyway. It's almost a QOL thing to just be able to ask a doctor "hey do I have a positive virus" since if it's perfectly positive, there's nothing really gained by people not knowing (you, enemies, and friends alike.) ## Changelog :cl: fix: positive viruses are no longer hidden. /:cl: * [NO GBP] fixes positive viruses being hidden --------- Co-authored-by: Higgin Co-authored-by: NovaBot13 --- code/datums/diseases/advance/advance.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/diseases/advance/advance.dm b/code/datums/diseases/advance/advance.dm index 57ce722cd64..bce368237ad 100644 --- a/code/datums/diseases/advance/advance.dm +++ b/code/datums/diseases/advance/advance.dm @@ -272,7 +272,7 @@ /datum/disease/advance/proc/assign_properties() if(properties?.len) - if(properties["stealth"] >= properties["severity"]) + if(properties["stealth"] >= properties["severity"] && properties["severity"] > 0) visibility_flags |= HIDDEN_SCANNER else visibility_flags &= ~HIDDEN_SCANNER