mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: chompstation-ci[bot] <199999496+chompstation-ci[bot]@users.noreply.github.com> Co-authored-by: sunofang <38206283+sunofang@users.noreply.github.com> Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
chompstation-ci[bot] <199999496+chompstation-ci[bot]@users.noreply.github.com>
sunofang
Selis
Kashargul
parent
ab633acfd4
commit
5193d70d2b
@@ -98,11 +98,11 @@
|
||||
addtimer(VARSET_CALLBACK(src, icon_state, "holo_medical"), 10 SECONDS, TIMER_DELETE_ME)
|
||||
|
||||
/obj/structure/holosign/barrier/medical/proc/CheckHuman(mob/living/carbon/human/H)
|
||||
if(istype(H.get_species(), SPECIES_XENOCHIMERA))
|
||||
if(H.get_species() == SPECIES_XENOCHIMERA)
|
||||
return FALSE
|
||||
if(H.GetViruses())
|
||||
for(var/datum/disease/D in H.GetViruses())
|
||||
if(D.severity == NONTHREAT)
|
||||
for(var/datum/disease/D in H.GetSpreadableViruses())
|
||||
if(D.danger == DISEASE_POSITIVE || D.danger == DISEASE_BENEFICIAL)
|
||||
continue
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user