# HG changeset patch # User Simon Cross # Date 1259350890 0 # Node ID f59cb047d08fe63a3f2c658a6ff1218ae6bede03 # Parent d5009047a37132edc51f5bd54a2881962b47395a Don't try to open non-abodes. diff -r d5009047a371 -r f59cb047d08f gamelib/gameboard.py --- a/gamelib/gameboard.py Fri Nov 27 15:00:47 2009 +0000 +++ b/gamelib/gameboard.py Fri Nov 27 19:41:30 2009 +0000 @@ -781,7 +781,7 @@ do_sell(chicken) else: building = self.get_building(tile_pos) - if building is None: + if building is None or not building.ABODE: return x, y = 50, 0 self.open_building_dialog(building, False, do_sell)