Mercurial > rinkhals
diff gamelib/gameboard.py @ 316:ae5989b3ce01
Fix test for time limit
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 18:56:59 +0000 |
parents | 49c58dda8ac2 |
children | 9bf0e701a36e |
line wrap: on
line diff
--- a/gamelib/gameboard.py Sat Sep 05 18:56:33 2009 +0000 +++ b/gamelib/gameboard.py Sat Sep 05 18:56:59 2009 +0000 @@ -1039,7 +1039,7 @@ """Return true if we're complete""" if self.trees_left() == 0: return True - if constants.TURN_LIMIT > 0 and self.days > constants.TURN_LIMIT: + if constants.TURN_LIMIT > 0 and self.days >= constants.TURN_LIMIT: return True if len(self.chickens) == 0: return True