From f7c6c8b4400c00be180489d35a3a49c4e94adbaa Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 2 Oct 2017 18:53:57 -0400 Subject: [PATCH] config. > CONFIG_GET 2: "all checks have failed" boogaloo --- code/citadel/cit_crewobjectives.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/citadel/cit_crewobjectives.dm b/code/citadel/cit_crewobjectives.dm index 0dad401786..2d9149f5b1 100644 --- a/code/citadel/cit_crewobjectives.dm +++ b/code/citadel/cit_crewobjectives.dm @@ -3,12 +3,12 @@ if(prob(2) && !issilicon(crewMind.current) && !jobban_isbanned(crewMind, "Syndicate") && GLOB.miscreants_allowed) generate_miscreant_objectives(crewMind) else - if(config.allow_crew_objectives) + if(CONFIG_GET(flag/allow_crew_objectives)) generate_individual_objectives(crewMind) return /datum/controller/subsystem/ticker/proc/generate_individual_objectives(var/datum/mind/crewMind) - if(!config.allow_crew_objectives) + if(!(CONFIG_GET(flag/allow_crew_objectives))) return if(!crewMind) return