Skip to content

Commit

Permalink
admin completion counts for heretic objectives (tgstation#64932)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMelbert committed Feb 16, 2022
1 parent c2ba4db commit 961e710
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/antagonists/heretic/heretic_antag.dm
Expand Up @@ -579,7 +579,7 @@
var/datum/antagonist/heretic/heretic_datum = owner?.has_antag_datum(/datum/antagonist/heretic)
if(!heretic_datum)
return FALSE
return heretic_datum.total_sacrifices >= target_amount
return completed || (heretic_datum.total_sacrifices >= target_amount)

/// Heretic's major sacrifice objective. "Major sacrifices" are heads of staff.
/datum/objective/major_sacrifice
Expand All @@ -591,7 +591,7 @@
var/datum/antagonist/heretic/heretic_datum = owner?.has_antag_datum(/datum/antagonist/heretic)
if(!heretic_datum)
return FALSE
return heretic_datum.high_value_sacrifices >= target_amount
return completed || (heretic_datum.high_value_sacrifices >= target_amount)

/// Heretic's research objective. "Research" is heretic knowledge nodes (You start with some).
/datum/objective/heretic_research
Expand Down Expand Up @@ -628,7 +628,7 @@
var/datum/antagonist/heretic/heretic_datum = owner?.has_antag_datum(/datum/antagonist/heretic)
if(!heretic_datum)
return FALSE
return length(heretic_datum.researched_knowledge) >= target_amount
return completed || (length(heretic_datum.researched_knowledge) >= target_amount)

/datum/objective/heretic_summon
name = "summon monsters"
Expand Down

0 comments on commit 961e710

Please sign in to comment.