mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 10:37:17 +01:00
fix steal identity objectives not syncing to their linked assassinate objectives (#19809)
This commit is contained in:
@@ -151,11 +151,8 @@
|
||||
var/mob/living/carbon/human/H = kill_objective.target?.current
|
||||
|
||||
if(!(locate(/datum/objective/escape) in owner.get_all_objectives()) && H && !HAS_TRAIT(H, TRAIT_GENELESS))
|
||||
var/datum/objective/escape/escape_with_identity/identity_theft = new
|
||||
var/datum/objective/escape/escape_with_identity/identity_theft = new(assassinate = kill_objective)
|
||||
identity_theft.owner = owner
|
||||
identity_theft.target = kill_objective.target
|
||||
identity_theft.target_real_name = kill_objective.target.current.real_name
|
||||
identity_theft.explanation_text = "Escape on the shuttle or an escape pod with the identity of [identity_theft.target_real_name], the [identity_theft.target.assigned_role] while wearing [identity_theft.target.p_their()] identification card."
|
||||
objectives += identity_theft
|
||||
|
||||
if(!(locate(/datum/objective/escape) in owner.get_all_objectives()))
|
||||
|
||||
Reference in New Issue
Block a user