mirror of
https://github.com/evennia/evennia.git
synced 2026-04-17 21:59:06 +02:00
Fixed the migrations from a pre-populated database to the many-char-per-player branch.
This commit is contained in:
parent
ea4c30a0b1
commit
4669b8ed89
3 changed files with 37 additions and 6 deletions
|
|
@ -60,6 +60,9 @@ def create_objects():
|
|||
god_character.locks.add("examine:perm(Immortals);edit:false();delete:false();boot:false();msg:all();puppet:false()")
|
||||
|
||||
god_character.save()
|
||||
# note that there is no security issue with setting the _superuser_character flag - the system
|
||||
# will only grant superuser access to a character with this flag if its Player also has the
|
||||
# superuser bit set. It only marks that the character should not "mask" the superuser privileges.
|
||||
god_character.set_attribute("_superuser_character", True)
|
||||
god_player.set_attribute("_first_login", True)
|
||||
god_player.set_attribute("_last_puppet", god_character)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue