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

This commit is contained in:
Tiago Epifanio 2023-03-19 23:51:39 +00:00
parent bdfb113063
commit c63a186d32

View File

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