diff --git a/code/game/data_huds.dm b/code/game/data_huds.dm index 4b7c8c8f7d409..e2c35ad1c09c7 100644 --- a/code/game/data_huds.dm +++ b/code/game/data_huds.dm @@ -24,13 +24,13 @@ /datum/atom_hud/data/human/medical/basic/proc/check_sensors(mob/living/carbon/human/H) if(!istype(H) && !ismonkey(H)) - return 0 + return FALSE var/obj/item/clothing/under/U = H.w_uniform if(!istype(U)) - return 0 + return FALSE if(U.sensor_mode <= SENSOR_VITALS) - return 0 - return 1 + return FALSE + return TRUE /datum/atom_hud/data/human/medical/basic/add_to_single_hud(mob/M, mob/living/carbon/H) if(check_sensors(H)) @@ -92,6 +92,7 @@ /mob/living/carbon/proc/check_virus() var/threat var/danger + for(var/thing in diseases) var/datum/disease/D = thing if(!(D.visibility_flags & HIDDEN_SCANNER))