Fixed cyborgs not getting their names at round start

This commit is contained in:
CitrusGender
2018-06-24 14:55:13 -04:00
committed by letterjay
parent 386bc528ea
commit d50ae43d7f
7 changed files with 9 additions and 11 deletions
+1 -2
View File
@@ -85,5 +85,4 @@ Cyborg
return H.Robotize(FALSE, latejoin)
/datum/job/cyborg/after_spawn(mob/living/silicon/robot/R, mob/M)
if(CONFIG_GET(flag/rename_cyborg)) //name can't be set in robot/New without the client
R.rename_self("cyborg", M.client)
R.rename_self("cyborg", M.client)
@@ -232,7 +232,8 @@
if(custom_name)
changed_name = custom_name
if(changed_name == "" && client)
changed_name = client.prefs.custom_names["cyborg"]
rename_self(src, client)
return //built in camera handled in proc
if(!changed_name)
changed_name = get_standard_name()
+1 -2
View File
@@ -381,8 +381,7 @@
else if(transfer_after)
R.key = key
if (CONFIG_GET(flag/rename_cyborg))
R.rename_self("cyborg")
R.rename_self("cyborg")
if(R.mmi)
R.mmi.name = "Man-Machine Interface: [real_name]"