summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--examples/mines/mines.scm3
2 files changed, 3 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 1b60f6a..be05fc4 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,3 @@
David Thompson <davet@gnu.org>
Jordan Russell <jordan.likes.curry@gmail.com>
+Christopher Allan Webber <cwebber@dustycloud.org>
diff --git a/examples/mines/mines.scm b/examples/mines/mines.scm
index 98056cc..97d77b0 100644
--- a/examples/mines/mines.scm
+++ b/examples/mines/mines.scm
@@ -163,7 +163,8 @@
(cond
;; Nothing to do.
((or (tile-shown? tile)
- (tile-flagged? tile))
+ (tile-flagged? tile)
+ (board-lose? board))
board)
;; Oops!
((tile-mine? tile)