Honor START_LOCATION in default account creation.
Currently START_LOCATION is only honored by the "charcreate" command, which is unintuitive.
This commit is contained in:
parent
f39dcb8786
commit
1652b45667
1 changed files with 1 additions and 0 deletions
|
|
@ -687,6 +687,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
||||||
ip=character_ip,
|
ip=character_ip,
|
||||||
typeclass=character_typeclass,
|
typeclass=character_typeclass,
|
||||||
permissions=character_permissions,
|
permissions=character_permissions,
|
||||||
|
location=ObjectDB.objects.get_id(settings.START_LOCATION),
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
if character:
|
if character:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue