Fix Steal + Overthrow on OBC 5

This commit is contained in:
Cal Corum 2025-02-11 00:10:53 -06:00
parent b454912393
commit 4d59247e5c

View File

@ -2407,6 +2407,10 @@ async def steals(session: Session, interaction: discord.Interaction, this_play:
else:
this_play.runner = this_play.on_first
this_play.on_first_final = 2 if steal_type == 'stolen-base' else 3
if steal_type == 'steal-plus-overthrow' and this_play.on_third:
this_play.on_third_final = 4
log_run_scored(session, this_play.on_third, this_play, is_earned=False)
elif steal_type == 'caught-stealing':
this_play.outs = 1