From a0d70d8823a5ac2a5f3b758d06bd6d2ec28e89b6 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Fri, 17 Nov 2017 23:28:09 -0500 Subject: [PATCH] Update traitor.dm --- code/game/gamemodes/traitor/traitor.dm | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) 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)