From a196eccb26b62965b0b47565d1cc7647f2733059 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Tue, 5 Sep 2017 19:21:29 -0400 Subject: [PATCH] should fix responsibility objective. hopefully --- code/citadel/cit_crewobjectives.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/citadel/cit_crewobjectives.dm b/code/citadel/cit_crewobjectives.dm index 82871c44f5..8994d4e547 100644 --- a/code/citadel/cit_crewobjectives.dm +++ b/code/citadel/cit_crewobjectives.dm @@ -380,10 +380,11 @@ 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.z == ZLEVEL_STATION || SSshuttle.emergency.shuttle_areas[get_area(H)]) - for(var/datum/reagent/consumable/ethanol/A in H.reagents) + for(boozetypes/A in H.reagents) if(A) if(A.volume >= 5) return 0