Mercurial > parpg-source
diff components/containable.py @ 19:16c959864d41
Backed out changeset: 799fc37fec6d
author | KarstenBock@gmx.net |
---|---|
date | Wed, 10 Aug 2011 21:08:14 +0200 |
parents | 9ffcb493a0f4 |
children | def430d59281 |
line wrap: on
line diff
--- a/components/containable.py Wed Aug 10 21:07:06 2011 +0200 +++ b/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)