# HG changeset patch # User KarstenBock@gmx.net # Date 1312181071 -7200 # Node ID bd1e3b74351864dd3104b54745c695ab81b55d94 # Parent 799fc37fec6dd02273db6e9084a696e429162213 Added clause when the containable should just be added to end of the list diff -r 799fc37fec6d -r bd1e3b743518 src/parpg/systems/container.py --- a/src/parpg/systems/container.py Sun Jul 31 23:48:54 2011 +0200 +++ b/src/parpg/systems/container.py Mon Aug 01 08:44:31 2011 +0200 @@ -48,7 +48,10 @@ containable.current_container = new_container old_containable = new_container.children.pop(new_slot) old_containable.current_container = drag_container - drag_container.children = [old_containable] + drag_container.children.append(old_containable) + else: + new_container.append(containable) + containable.current_container = new_container else: for listener in self.on_bulk_to_big: listener(bulk, new_container.max_bulk)