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,7 +192,8 @@ class CmdUnconnectedCreate(MuxCommand):
|
||||||
(new_character.id, new_player.id))
|
(new_character.id, new_player.id))
|
||||||
|
|
||||||
|
|
||||||
# set a default description
|
# If no description is set, set a default description
|
||||||
|
if not new_character.db.desc:
|
||||||
new_character.db.desc = "This is a Player."
|
new_character.db.desc = "This is a Player."
|
||||||
|
|
||||||
# tell the caller everything went well.
|
# tell the caller everything went well.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue