Update gameplay.py

This commit is contained in:
Cal Corum 2023-10-20 17:03:11 -05:00
parent b5c5fb233c
commit baf8ddb664

View File

@ -1573,6 +1573,8 @@ class Gameplay(commands.Cog):
valid_end = True
elif latest_play.inning_half == 'bot' and abs(latest_play.home_score - latest_play.away_score) >= 10:
valid_end = True
elif abs(latest_play.home_score - latest_play.away_score) >= 10 and latest_play.inning_half == 'bot':
valid_end = True
if not valid_end:
view = Confirm(responders=[interaction.user])