mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 16:56:32 +01:00
Change assign to use .key instead of .name. Resolve #2530.
This commit is contained in:
parent
25f793c964
commit
5fcb8e9d32
1 changed files with 1 additions and 1 deletions
|
|
@ -1386,7 +1386,7 @@ class CmdName(ObjManipCommand):
|
|||
return
|
||||
# change the name and set aliases:
|
||||
if newname:
|
||||
obj.name = newname
|
||||
obj.key = newname
|
||||
astring = ""
|
||||
if aliases:
|
||||
[obj.aliases.add(alias) for alias in aliases]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue