Mercurial > rinkhals
changeset 51:32fb395cf71c
Add missing call to vid.Tile.__init__ to FarmTile.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Mon, 31 Aug 2009 17:18:03 +0000 |
parents | c05ca3ef9f1e |
children | 0d4799866bcf |
files | gamelib/tiles.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/tiles.py Mon Aug 31 17:07:01 2009 +0000 +++ b/gamelib/tiles.py Mon Aug 31 17:18:03 2009 +0000 @@ -47,7 +47,7 @@ def __init__(self, image_name): self.day_image = imagecache.load_image(image_name) self.night_image = imagecache.load_image(image_name, ("night",)) - self.image = self.day_image + vid.Tile.__init__(self, self.day_image) def sun(self, sun_on): if sun_on: