Mercurial > rinkhals
changeset 316:ae5989b3ce01
Fix test for time limit
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 18:56:59 +0000 |
parents | 0a3161fec434 |
children | e2e8d2686832 |
files | gamelib/gameboard.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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