picture fixer (#51650)

This commit is contained in:
MrMelbert
2020-06-21 20:40:55 -03:00
committed by GitHub
parent dafbf749af
commit 691496cedb
+2 -2
View File
@@ -248,7 +248,7 @@
/datum/objective/polaroid/update_explanation_text()
..()
if(target && target.current)
explanation_text = "Take a photo with [target.name] while they're alive."
explanation_text = "Take a photo of [target.name] while they're alive."
else
explanation_text = "Free Objective"
@@ -261,7 +261,7 @@
for(var/obj/I in all_items) //Check for wanted items
if(istype(I, /obj/item/photo))
var/obj/item/photo/P = I
if(P.picture.mobs_seen.Find(owner) && P.picture.mobs_seen.Find(target) && !P.picture.dead_seen.Find(target))//you are in the picture, they are but they are not dead.
if(P.picture && (target.current in P.picture.mobs_seen) && !(target.current in P.picture.dead_seen)) //Does the picture exist and is the target in it and is the target not dead
return TRUE
return FALSE