Update datum_traitor.dm (#21659)

This commit is contained in:
Molti
2024-03-16 11:58:08 -05:00
committed by GitHub
parent 24eb2c3765
commit 778a5f0f10

View File

@@ -162,10 +162,12 @@
if(minorObjective)
add_objective(minorObjective)
if(!(locate(/datum/objective/escape) in objectives))
var/datum/objective/escape/escape_objective = new
escape_objective.owner = owner
add_objective(escape_objective)
return
if(prob(70)) //doesn't always need to escape
var/datum/objective/escape/escape_objective = new
escape_objective.owner = owner
add_objective(escape_objective)
else
forge_single_human_objective()
/datum/antagonist/traitor/proc/forge_ai_objectives()
var/objective_count = 0