Part 1 of initial database population re-factor, along with a comsys model change. DO NOT UPDATE TO THIS IN PRODUCTION ENVIRONMENTS YET! Wait for the all-clear.

This commit is contained in:
Greg Taylor 2009-01-18 03:14:52 +00:00
parent 8ebea8c22e
commit c0ebbc3967
6 changed files with 29 additions and 10 deletions

View file

@ -356,7 +356,7 @@ class ObjectManager(models.Manager):
# Create a player object of the same ID in the Objects table.
odat = {"id": uid,
"name": uname,
"type": 1,
"type": defines_global.OTYPE_PLAYER,
"location": start_room_obj,
"owner": None}
user_object = self.create_object(odat)