From fe686b0fd4be9620ac11cc394c9c51b4d7de104f Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sat, 27 Apr 2024 16:29:03 -0500 Subject: [PATCH] Having the click after the message disappears is weird --- fallout_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fallout_selection.py b/fallout_selection.py index 0e26609..e27f8f0 100644 --- a/fallout_selection.py +++ b/fallout_selection.py @@ -40,6 +40,7 @@ def makeSelection(scr, SELECTIONS, MSGS): elif inchar == curses.KEY_DOWN and selection < selection_count - 1: selection += 1 addSound("keyenter") + addSound("keyenter") if MSGS and MSGS[selection]: whole_line = '> ' + MSGS[selection] space = width - len(whole_line) % width @@ -48,7 +49,6 @@ def makeSelection(scr, SELECTIONS, MSGS): scr.addstr(whole_line) scr.refresh() sleep(2) - addSound("keyenter") return selection