mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 13:37:17 +02:00
Specify the id for the Limbo room on creation to avoid PKey duplication on postgres. Not sure why it was happening to begin with, but whatever.
This commit is contained in:
parent
7b0bd55200
commit
331f149dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def create_objects():
|
|||
god_user_obj.save()
|
||||
|
||||
# Limbo is the initial starting room.
|
||||
limbo_obj = Object(type = defines_global.OTYPE_ROOM)
|
||||
limbo_obj = Object(id=2, type=defines_global.OTYPE_ROOM)
|
||||
limbo_obj.set_owner(god_user_obj)
|
||||
limbo_obj.set_name('%ch%ccLimbo%cn')
|
||||
limbo_obj.set_description("Welcome to your new Evennia-based game. From here you are ready to begin development. If you should need help or would like to participate in community discussions, visit http://evennia.com.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue