mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Actually fixes account_name runtime in rename_character (#25880)
* this is why you test things * Update code/modules/mob/mob_misc_procs.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com> --------- Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -593,7 +593,7 @@
|
||||
name = newname
|
||||
if(mind)
|
||||
mind.name = newname
|
||||
if(mind?.initial_account?.account_name == oldname)
|
||||
if(!isnull(oldname) && mind?.initial_account?.account_name == oldname)
|
||||
mind.initial_account.account_name = newname
|
||||
if(dna)
|
||||
dna.real_name = real_name
|
||||
|
||||
Reference in New Issue
Block a user