CmdUnconnectedCreate() in unloggedin.py was setting default character descriptions after character hooks and so overwriting attempts to set desc elsewhere. Added check to see if new_player.db.desc is already set.
This commit is contained in:
parent
4944a589cc
commit
28912a4c99
1 changed files with 3 additions and 2 deletions
|
|
@ -192,8 +192,9 @@ class CmdUnconnectedCreate(MuxCommand):
|
|||
(new_character.id, new_player.id))
|
||||
|
||||
|
||||
# set a default description
|
||||
new_character.db.desc = "This is a Player."
|
||||
# If no description is set, set a default description
|
||||
if not new_character.db.desc:
|
||||
new_character.db.desc = "This is a Player."
|
||||
|
||||
# tell the caller everything went well.
|
||||
string = "A new account '%s' was created. Welcome!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue