From 331f149dfb0158ae84587cab9a4a33f8c2570304 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Thu, 30 Apr 2009 02:47:27 +0000 Subject: [PATCH] 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. --- src/initial_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initial_setup.py b/src/initial_setup.py index dd8148ead6..de7b7ee60f 100644 --- a/src/initial_setup.py +++ b/src/initial_setup.py @@ -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.")