# HG changeset patch # User KarstenBock@gmx.net # Date 1318186201 -7200 # Node ID c50a7adeae85240bde778b0bd4fb26d1e4511ed0 # Parent ee4c1fe78be1e913025cd2b485b52b55e3c67f77 Changed DropItemFromContainerAction to work with components. diff -r ee4c1fe78be1 -r c50a7adeae85 src/parpg/objects/action.py --- a/src/parpg/objects/action.py Sun Oct 09 19:24:37 2011 +0200 +++ b/src/parpg/objects/action.py Sun Oct 09 20:50:01 2011 +0200 @@ -453,7 +453,7 @@ def execute(self): super(DropItemFromContainerAction, self).execute() - self.item.in_container.takeItem(self.item) + container.remove_item(self.item.container, self.item.slot) self.container_gui.updateImages() class BrewBeerAction(Action):