Mercurial > parpg-core
diff src/parpg/components/containable.py @ 41:74f09d6417f4
Backed out changeset: 799fc37fec6d
author | KarstenBock@gmx.net |
---|---|
date | Wed, 10 Aug 2011 21:08:14 +0200 |
parents | 799fc37fec6d |
children | 1cc037593517 |
line wrap: on
line diff
--- a/src/parpg/components/containable.py Wed Aug 10 21:07:06 2011 +0200 +++ b/src/parpg/components/containable.py Wed Aug 10 21:08:14 2011 +0200 @@ -18,7 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(bulk=int, weight=int, image=str, current_container=object, new_container=object, new_slot=int) - self.fields['current_container'].default = None - self.fields['new_container'].default = None - self.fields['new_slot'].default = -1 + Component.__init__(bulk=int, weight=int, image=str, container=object)