Minor change

This commit is contained in:
Shadow15510 2022-01-16 08:56:02 +01:00
parent 9e0085a65e
commit c45051c590
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ def print_text(text, min_value=0, max_value=0, default_value=0):
print("\n" * 7)
print(paragraphs[index])
if index + 1 == nb and max_value:
if index + 1 == nb and (min_value or max_value or default_value) and min_value <= max_value:
result = input(">")
try: result = int(result)
except: result = default_value