mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user