From b9712da5c864bcfefd46414ccc8a186b649cdace Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 4 Sep 2017 05:49:31 -0400 Subject: [PATCH] properly fixes crew objective paths --- code/citadel/cit_crewobjectives.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/citadel/cit_crewobjectives.dm b/code/citadel/cit_crewobjectives.dm index 58a494fe98..b3b8c4be26 100644 --- a/code/citadel/cit_crewobjectives.dm +++ b/code/citadel/cit_crewobjectives.dm @@ -13,7 +13,7 @@ return if(!crewMind.assigned_role) return - var/rolePathString = "/datum/objective/crew/[crewMind.assigned_role]" + var/rolePathString = "/datum/objective/crew/[ckey(crewMind.assigned_role)]" var/rolePath = text2path(rolePathString) if (isnull(rolePath)) return @@ -33,12 +33,12 @@ /datum/objective/crew/proc/setup() -/datum/objective/crew/Captain/ +/datum/objective/crew/captain/ -/datum/objective/crew/Captain/hat +/datum/objective/crew/captain/hat explanation_text = "Don't lose your hat." -/datum/objective/crew/Captain/hat/check_completion() +/datum/objective/crew/captain/hat/check_completion() if(owner.current && owner.current.check_contents_for(/obj/item/clothing/head/caphat)) return 1 else