mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +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)
|
||||
|
||||
Reference in New Issue
Block a user