Mercurial > rinkhals
changeset 153:065f43e19e09
Damn you invisible chickens\!
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Thu, 03 Sep 2009 20:58:34 +0000 |
parents | 702bc0eb2ac3 |
children | 3afdefacb07f |
files | gamelib/gameboard.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/gameboard.py Thu Sep 03 20:55:12 2009 +0000 +++ b/gamelib/gameboard.py Thu Sep 03 20:58:34 2009 +0000 @@ -231,7 +231,7 @@ place a selected animal in a building. """ chicken = self.get_chicken(tile_pos) - if chicken: + if chicken and chicken.abode is None: if chicken is self.animal_to_place: self.animal_to_place = None else: