mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 06:46:31 +01:00
Fix home kwarg not being honored by Character.create
This commit is contained in:
parent
b1e1e75088
commit
dd13a3e2e0
2 changed files with 2 additions and 5 deletions
|
|
@ -2066,9 +2066,6 @@ class DefaultCharacter(DefaultObject):
|
|||
# Set the supplied key as the name of the intended object
|
||||
kwargs["key"] = key
|
||||
|
||||
# Get home for character
|
||||
kwargs["home"] = ObjectDB.objects.get_id(kwargs.get("home", settings.DEFAULT_HOME))
|
||||
|
||||
# Get permissions
|
||||
kwargs["permissions"] = kwargs.get("permissions", settings.PERMISSION_ACCOUNT_DEFAULT)
|
||||
|
||||
|
|
|
|||
|
|
@ -486,8 +486,8 @@ def create_account(
|
|||
|
||||
Args:
|
||||
key (str): The account's name. This should be unique.
|
||||
email (str or None): Email on valid addr@addr.domain form. If
|
||||
the empty string, will be set to None.
|
||||
email (str or None): Email on valid addr@addr.domain form. If
|
||||
the empty string, will be set to None.
|
||||
password (str): Password in cleartext.
|
||||
|
||||
Kwargs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue