From 57a4976fe1873235a5db637ac3e0e730c8bbf1c0 Mon Sep 17 00:00:00 2001 From: DegenerateTriangle Date: Fri, 25 Dec 2020 17:22:18 -0500 Subject: [PATCH] Honor START_LOCATION in default account creation. Currently START_LOCATION is only honored by the "charcreate" command, which is unintuitive. --- evennia/accounts/accounts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evennia/accounts/accounts.py b/evennia/accounts/accounts.py index 79631881db..d8c7ccd735 100644 --- a/evennia/accounts/accounts.py +++ b/evennia/accounts/accounts.py @@ -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: