mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Fixes storage of creator_id to dbhandler.
This commit is contained in:
parent
dc1c8bb9a6
commit
200b1a6842
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class CharacterCreationView(LoginRequiredMixin, FormView):
|
|||
|
||||
# Assign attributes from form
|
||||
[setattr(character.db, field, self.attributes[field]) for field in self.attributes.keys()]
|
||||
character.creator_id = account.id
|
||||
character.db.creator_id = account.id
|
||||
character.save()
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue