From 830eef1207848653536fd53136b995b0e2f9d32d Mon Sep 17 00:00:00 2001 From: deathride58 Date: Tue, 5 Sep 2017 20:00:26 -0400 Subject: [PATCH] ... theres a var for that --- code/citadel/cit_crewobjectives.dm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code/citadel/cit_crewobjectives.dm b/code/citadel/cit_crewobjectives.dm index 8994d4e547..f2702695b9 100644 --- a/code/citadel/cit_crewobjectives.dm +++ b/code/citadel/cit_crewobjectives.dm @@ -380,14 +380,10 @@ explanation_text = "Make sure nobody dies of alchohol poisoning." /datum/objective/crew/bartender/responsibility/check_completion() - var/boozetypes = typesof(/datum/reagent/consumable/ethanol) for(var/mob/living/carbon/human/H in GLOB.mob_list) - if(H.stat == DEAD && H.reagents) + if(H.stat == DEAD && H.drunkenness >= 80) if(H.z == ZLEVEL_STATION || SSshuttle.emergency.shuttle_areas[get_area(H)]) - for(boozetypes/A in H.reagents) - if(A) - if(A.volume >= 5) - return 0 + return 0 return 1 /datum/objective/crew/assistant