Skip to content

Commit

Permalink
[bin/crypt] exit repl when game finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Jul 30, 2012
1 parent 236f76e commit 5e290dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/crypt
Expand Up @@ -1755,6 +1755,9 @@ inventory";
say "You are empty-handed.";
}
}
when Adventure::GameFinished {
exit;
}
}
CATCH {
when X::Adventure { say .message, '.' }
Expand Down

0 comments on commit 5e290dd

Please sign in to comment.