escape with identity objective now properly assigns new target and updates explanation text (#26501)

This commit is contained in:
chuga-git
2024-08-16 04:03:22 +00:00
committed by GitHub
parent defa855afe
commit 75b18b4d3c
+2 -1
View File
@@ -481,7 +481,8 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective)
/datum/objective/escape/escape_with_identity/proc/assassinate_found_target(datum/source, datum/mind/new_target)
SIGNAL_HANDLER
if(new_target)
target_real_name = new_target.current.real_name
target = new_target
update_explanation_text()
return
// The assassinate objective was unable to find a new target after the old one cryo'd as was qdel'd. We're on our own.
find_target()