changeset 481:fac63919a972

Don't look for chickens in fences
author Neil Muller <drnlmuller@gmail.com>
date Wed, 25 Nov 2009 19:56:18 +0000
parents 312120a99181
children cab751de93cc
files gamelib/gameboard.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/gameboard.py	Wed Nov 25 19:50:40 2009 +0000
+++ b/gamelib/gameboard.py	Wed Nov 25 19:56:18 2009 +0000
@@ -396,7 +396,7 @@
         if chicken:
             return chicken
         building = self.get_building(tile_pos)
-        if building:
+        if building and building.ABODE:
             self.open_building_dialog(building, False)
 
     def select_chicken(self, tile_pos):