mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Fixes a missing variable on a changeling objective (#19186)
* I cant use : here, maintainers would kill me
* this really needs a comment, mhm for sure
* Revert "I cant use : here, maintainers would kill me"
This reverts commit bb0f684579.
* why the FUCK does this work? Why no immutable
This commit is contained in:
@@ -736,6 +736,8 @@
|
||||
new_objective.owner = src
|
||||
new_objective.target = new_target
|
||||
new_objective.explanation_text = "Escape on the shuttle or an escape pod with the identity of [targ.current.real_name], the [targ.assigned_role] while wearing [targ.current.p_their()] identification card."
|
||||
var/datum/objective/escape/escape_with_identity/O = new_objective
|
||||
O.target_real_name = new_objective.target.current.real_name
|
||||
if("custom")
|
||||
var/expl = sanitize(copytext(input("Custom objective:", "Objective", objective ? objective.explanation_text : "") as text|null,1,MAX_MESSAGE_LEN))
|
||||
if(!expl)
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
if(prob(70))
|
||||
add_objective(/datum/objective/escape)
|
||||
else
|
||||
add_objective(/datum/objective/escape/escape_with_identity)
|
||||
add_objective(/datum/objective/escape/escape_with_identity) // If our kill target has no genes, 30% time pick someone else to steal the identity of
|
||||
|
||||
/datum/antagonist/changeling/process()
|
||||
if(!owner || !owner.current)
|
||||
|
||||
Reference in New Issue
Block a user