Skip to content
Browse files

[bin/crypt] exit repl when game finishes

  • Loading branch information...
1 parent 236f76e commit 5e290dd3b77338e13d576492f72fe915a548b738 @masak committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/crypt
View
3 bin/crypt
@@ -1755,6 +1755,9 @@ inventory";
say "You are empty-handed.";
}
}
+ when Adventure::GameFinished {
+ exit;
+ }
}
CATCH {
when X::Adventure { say .message, '.' }

0 comments on commit 5e290dd

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