Attempt to keep messagebox from double speaking.
This commit is contained in:
parent
b5b472eebe
commit
c5406d5089
@ -421,6 +421,7 @@ def display_text(text):
|
||||
|
||||
def messagebox(text):
|
||||
while True:
|
||||
if event.key == pygame.K_UP: continue
|
||||
speak(text + "\nPress any key to repeat or enter to continue.")
|
||||
event = pygame.event.wait()
|
||||
if event.type == pygame.KEYDOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user