Merge pull request #13294 from Putnam3145/health-event-fix

Added health exemption to a couple events that need it.
This commit is contained in:
silicons
2020-08-30 13:15:10 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@
continue
if(!H.getorgan(/obj/item/organ/brain)) // If only I had a brain
continue
if(HAS_TRAIT(H,TRAIT_EXEMPT_HEALTH_EVENTS))
continue
traumatize(H)
break

View File

@@ -6,7 +6,7 @@
/datum/round_event/fake_virus/start()
var/list/fake_virus_victims = list()
for(var/mob/living/carbon/human/H in shuffle(GLOB.player_list))
if(!H.client || H.stat == DEAD || H.InCritical())
if(!H.client || H.stat == DEAD || H.InCritical() || HAS_TRAIT(H,TRAIT_EXEMPT_HEALTH_EVENTS))
continue
fake_virus_victims += H