diff --git a/code/game/gamemodes/traitor/traitor.dm b/code/game/gamemodes/traitor/traitor.dm index 9bb2013947..7d659207cc 100644 --- a/code/game/gamemodes/traitor/traitor.dm +++ b/code/game/gamemodes/traitor/traitor.dm @@ -113,23 +113,21 @@ if(traitor.objectives.len)//If the traitor had no objectives, don't need to process this. var/count = 1 for(var/datum/objective/objective in traitor.objectives) -<<<<<<< HEAD if(istype(objective, /datum/objective/crew)) if(objective.check_completion()) objectives += "
Objective #[count]: [objective.explanation_text] Success! (Optional)" - SSblackbox.add_details("traitor_objective","[objective.type]|SUCCESS") + SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "SUCCESS")) else objectives += "
Objective #[count]: [objective.explanation_text] Fail. (Optional)" - SSblackbox.add_details("traitor_objective","[objective.type]|FAIL") -======= - if(objective.check_completion()) - objectives += "
Objective #[count]: [objective.explanation_text] Success!" - SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "SUCCESS")) ->>>>>>> 8b19b49... JSON feedback (#32188) + SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "FAIL")) else - objectives += "
Objective #[count]: [objective.explanation_text] Fail." - SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "FAIL")) - traitorwin = FALSE + if(objective.check_completion()) + objectives += "
Objective #[count]: [objective.explanation_text] Success!" + SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "SUCCESS")) + else + objectives += "
Objective #[count]: [objective.explanation_text] Fail." + SSblackbox.record_feedback("nested tally", "traitor_objective", 1, list("[objective.type]", "FAIL")) + traitorwin = FALSE count++ if(uplink_true)