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:
Adam_ASE 2012-09-28 23:41:07 -04:00
parent 4944a589cc
commit 28912a4c99

View file

@ -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!"