mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
* I'm about to viro it * I thought I was done, I was not :( * Wrong proc oops * Small oops * Fix that * Grrr nutrition
This commit is contained in:
@@ -100,9 +100,7 @@
|
||||
/obj/structure/holosign/barrier/medical/proc/CheckHuman(mob/living/carbon/human/H)
|
||||
if(H.get_species() == SPECIES_XENOCHIMERA)
|
||||
return FALSE
|
||||
if(H.GetViruses())
|
||||
for(var/datum/disease/D in H.GetSpreadableViruses())
|
||||
if(D.danger == DISEASE_POSITIVE || D.danger == DISEASE_BENEFICIAL || D.disease_flags & DORMANT || D.spread_flags & DISEASE_SPREAD_FALTERED)
|
||||
continue
|
||||
return FALSE
|
||||
var/threat = H.check_virus()
|
||||
if(get_disease_danger_value(threat) > get_disease_danger_value(DISEASE_MINOR))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user