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:
DegenerateTriangle 2020-12-25 17:22:18 -05:00
parent 574d7fbd4f
commit 57a4976fe1

View file

@ -687,6 +687,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
ip=character_ip,
typeclass=character_typeclass,
permissions=character_permissions,
location=ObjectDB.objects.get_id(settings.START_LOCATION),
**kwargs,
)
if character: