Fixes Agent ID not displaying new name on examine proc (#22465)

See title; set name action was only updating one of the card's "name"
variables, not both.
This commit is contained in:
Batrachophreno
2026-05-18 19:17:41 +00:00
committed by GitHub
parent 37f6469a16
commit 09bc6f5d2b
2 changed files with 6 additions and 0 deletions
@@ -179,8 +179,10 @@
if(!isnull(newName))
if(newName == "")
newName = initial(name)
registered_name = initial(registered_name)
else
name = newName
registered_name = newName
to_chat(user, SPAN_NOTICE("Name has been set to '[name]'."))
if("setAge")
var/newAge = params["age"]