Change assign to use .key instead of .name. Resolve #2530.
This commit is contained in:
parent
bf2c4f151b
commit
1a581162bc
1 changed files with 1 additions and 1 deletions
|
|
@ -1386,7 +1386,7 @@ class CmdName(ObjManipCommand):
|
||||||
return
|
return
|
||||||
# change the name and set aliases:
|
# change the name and set aliases:
|
||||||
if newname:
|
if newname:
|
||||||
obj.name = newname
|
obj.key = newname
|
||||||
astring = ""
|
astring = ""
|
||||||
if aliases:
|
if aliases:
|
||||||
[obj.aliases.add(alias) for alias in aliases]
|
[obj.aliases.add(alias) for alias in aliases]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue