summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--play.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/play.c b/play.c
index 84fac37..ef6cb15 100644
--- a/play.c
+++ b/play.c
@@ -216,6 +216,7 @@ static const struct Game *menu(void) {
 			break; case 'q': {
 				return NULL;
 			}
+			break; case ERR: exit(EXIT_FAILURE);
 		}
 	}
 }