mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02: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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue