On harvest confirmation message, default to Y when user presses return

pull/50/head
Tiago Epifanio 2023-03-19 23:51:39 +00:00
parent bdfb113063
commit c63a186d32
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ class CursedMenu(object):
if user_in == -1: # Input comes from pipe/file and is closed if user_in == -1: # Input comes from pipe/file and is closed
raise IOError raise IOError
if user_in in [ord('Y'), ord('y')]: if user_in in [ord('Y'), ord('y'), 10]:
self.plant.start_over() self.plant.start_over()
else: else:
pass pass