aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/gamecatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/gamecatch.c b/games/gamecatch.c
index 0b28c6e..69310c8 100644
--- a/games/gamecatch.c
+++ b/games/gamecatch.c
@@ -105,6 +105,7 @@ void gamecatch(){
running = 1;
while (running) {
+ if(!running){stop();}
int ch = getch();
switch (ch) {
case 'q': case 'Q': stop(); break;
@@ -122,7 +123,7 @@ void gamecatch(){
if (!running) break;
- if (rand() % 10 < 2) spawndrops();
+ if (rand() % 10 < 3) spawndrops();
clear();