Mercurial > parpg-core
diff src/parpg/gamemodel.py @ 167:097782ae9c77
createItem now calls UpdateObjectDB after it created the item.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 09 Oct 2011 14:03:25 +0200 |
parents | 79c186b69603 |
children | 59c9ce2b8351 |
line wrap: on
line diff
--- a/src/parpg/gamemodel.py Sun Oct 09 13:31:08 2011 +0200 +++ b/src/parpg/gamemodel.py Sun Oct 09 14:03:25 2011 +0200 @@ -508,6 +508,7 @@ item = createEntity(item_data, identifier, world, None) item.containable.item_type = item_type self.game_state.addObject(identifier, None, item) + self.updateObjectDB(world) return item def placeAgents(self, world):