Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[bin/crypt] exit repl when game finishes

  • Loading branch information...
commit 5e290dd3b77338e13d576492f72fe915a548b738 1 parent 236f76e
Carl Mäsak authored July 30, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  bin/crypt
3  bin/crypt
@@ -1755,6 +1755,9 @@ inventory";
1755 1755
                             say "You are empty-handed.";
1756 1756
                         }
1757 1757
                     }
  1758
+                    when Adventure::GameFinished {
  1759
+                        exit;
  1760
+                    }
1758 1761
                 }
1759 1762
                 CATCH {
1760 1763
                     when X::Adventure { say .message, '.' }

0 notes on commit 5e290dd

Please sign in to comment.
Something went wrong with that request. Please try again.