mirror of
https://git.squeakyrat.moe/petratc/
synced 2026-11-04 18:35:43 +01:00
fixed exiting shower game
This commit is contained in:
1 parent
6a91e36534
commit
112351f9bc
1 file changed
+2
-1
+2
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user