# HG changeset patch # User Neil Muller # Date 1259274236 0 # Node ID b74b3a37cf1d88828af9fb7d52fce49b2871a9de # Parent 1da14b3d877381a0aacc138b537f781219a88581 Process upper floors first diff -r 1da14b3d8773 -r b74b3a37cf1d gamelib/buildings.py --- a/gamelib/buildings.py Thu Nov 26 00:31:54 2009 +0000 +++ b/gamelib/buildings.py Thu Nov 26 22:23:56 2009 +0000 @@ -306,7 +306,7 @@ return self._floors def places(self): - for floor in self._floors: + for floor in reversed(self._floors): for row in floor.rows(): for place in row: yield place