config. > CONFIG_GET 2: "all checks have failed" boogaloo

This commit is contained in:
deathride58
2017-10-02 18:53:57 -04:00
parent 70f06cfe35
commit f7c6c8b440
+2 -2
View File
@@ -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