Fixes a locate and adds job checks to download objective (#38199)

This commit is contained in:
Nich
2018-06-02 17:26:33 -07:00
committed by Tad Hardesty
parent 2250e82448
commit 4072a03f99
@@ -164,7 +164,7 @@
kill_objective.find_target()
add_objective(kill_objective)
else
if(prob(15) && !(locate(/datum/objective/download in owner.objectives)))
if(prob(15) && !(locate(/datum/objective/download) in owner.objectives) && !(owner.assigned_role in list("Research Director", "Scientist", "Roboticist")))
var/datum/objective/download/download_objective = new
download_objective.owner = owner
download_objective.gen_amount_goal()