Commits

Brandon Rhodes committed 177dae8

Bugfix: the game is also finished if "is_done" is true.

Comments (0)

Files changed (1)

adventure/game.py

 
     @property
     def is_finished(self):
-        return self.is_dead and not self.yesno_callback
+        return (self.is_dead or self.is_done) and not self.yesno_callback
 
     # Game startup