From 808d2a3554143845eac834869a3bd8c3ac47a113 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Tue, 23 Dec 2014 15:08:42 -0800 Subject: [PATCH] flush console keypresses before returning to game --- main/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/console.c b/main/console.c index 3c36fc20..758023da 100644 --- a/main/console.c +++ b/main/console.c @@ -645,6 +645,7 @@ void CON_Show(void) { /* Hides the console (make it invisible) */ void CON_Hide(void) { console->Visible = CON_CLOSING; + key_flush(); } /* tells wether the console is visible or not */ -- 2.39.2