Early stage viruses no longer show on medical HUD (#16307)

This commit is contained in:
dearmochi
2021-07-09 11:39:37 +01:00
committed by GitHub
parent 908c4f0dd1
commit 52e86bd0ed
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -90,6 +90,8 @@
/mob/living/carbon/proc/has_virus()
for(var/thing in viruses)
var/datum/disease/D = thing
if(!D.discovered) // Early-stage viruses should not show up on med HUD (though health analywers can still pick them up)
continue
if((!(D.visibility_flags & HIDDEN_SCANNER)) && (D.severity != NONTHREAT))
return TRUE
return FALSE