From 651db54ad2917ea0e055b74047201ef0b6022e63 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 15 Sep 2023 22:11:38 +0000 Subject: really allow any key to be pressed to continue. --- bts.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bts.c b/bts.c index 0b9911e..6d7a22e 100644 --- a/bts.c +++ b/bts.c @@ -664,6 +664,12 @@ mouse(Mousectl *mc) void key(Rune r) { + if(conclusion.s != nil){ + resetgame(); + nbsend(drawchan, nil); + return; + } + switch(r){ case Kdel: case 'q': @@ -677,11 +683,7 @@ key(Rune r) if(game.state != Waiting0) break; chanprint(egress, "watch\n"); - default: - if(conclusion.s != nil){ - resetgame(); - nbsend(drawchan, nil); - } + break; } } -- cgit v1.2.3