Merge pull request #9716 from Ghommie/Ghommie-cit317

Porting objective code refactor (ergo fixing abductors/abductees objective by updating the code)
This commit is contained in:
kevinz000
2019-11-10 11:27:04 -07:00
committed by GitHub
46 changed files with 399 additions and 326 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ GLOBAL_VAR_INIT(exploit_warn_spam_prevention, 0)
replace_identification_name(oldname,newname)
for(var/datum/mind/T in SSticker.minds)
for(var/datum/objective/obj in T.objectives)
for(var/datum/objective/obj in T.get_all_objectives())
// Only update if this player is a target
if(obj.target && obj.target.current && obj.target.current.real_name == name)
obj.update_explanation_text()