Fix home kwarg not being honored by Character.create
This commit is contained in:
parent
6c1a77eecc
commit
9782196b3c
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
|
# Set the supplied key as the name of the intended object
|
||||||
kwargs["key"] = key
|
kwargs["key"] = key
|
||||||
|
|
||||||
# Get home for character
|
|
||||||
kwargs["home"] = ObjectDB.objects.get_id(kwargs.get("home", settings.DEFAULT_HOME))
|
|
||||||
|
|
||||||
# Get permissions
|
# Get permissions
|
||||||
kwargs["permissions"] = kwargs.get("permissions", settings.PERMISSION_ACCOUNT_DEFAULT)
|
kwargs["permissions"] = kwargs.get("permissions", settings.PERMISSION_ACCOUNT_DEFAULT)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue