Mercurial > rinkhals
changeset 477:c1439f6705a2
Start of fix for save/restore after animals gained gameboards.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 25 Nov 2009 18:44:23 +0000 |
parents | 3dae0fc14009 |
children | 6974048bf04a |
files | gamelib/animal.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/animal.py Wed Nov 25 17:44:32 2009 +0000 +++ b/gamelib/animal.py Wed Nov 25 18:44:23 2009 +0000 @@ -30,6 +30,7 @@ 'accoutrements', 'abode', 'facing', + 'gameboard', ] def __init__(self, tile_pos, gameboard): @@ -52,7 +53,7 @@ def make(cls): """Override default Simplifiable object creation.""" - return cls((0, 0)) + return cls((0, 0), None) make = classmethod(make) def unsimplify(cls, *args, **kwargs):