Mercurial > parpg-source
diff objects/action.py @ 125:452bbc3d915d
Fixed that items in the player characters inventory could not be dropped.
author | KarstenBock@gmx.net |
---|---|
date | Fri, 07 Oct 2011 14:15:06 +0200 |
parents | 7f7f54c4077b |
children | 18623b5c2b45 |
line wrap: on
line diff
--- a/objects/action.py Thu Oct 06 16:08:00 2011 +0200 +++ b/objects/action.py Fri Oct 07 14:15:06 2011 +0200 @@ -435,6 +435,7 @@ self.model.deleteObject(identifier) self.model.addAgent(map_name, {identifier: agent_values}) self.model.placeAgents(self.item.entity.world) + self.model.updateObjectDB(self.item.entity.world) super(DropItemAction, self).execute() class DropItemFromContainerAction(DropItemAction):