Remove 3B hold check for runner on 2nd

This commit is contained in:
Cal Corum 2025-02-10 23:51:56 -06:00
parent 50895fef90
commit b454912393

View File

@ -2644,12 +2644,12 @@ async def xchecks(session: Session, interaction: discord.Interaction, this_play:
label_type='yes' label_type='yes'
) )
elif position == '3B' and this_play.on_second is not None: # elif position == '3B' and this_play.on_second is not None:
is_holding = await ask_confirm( # is_holding = await ask_confirm(
interaction, # interaction,
question=f'Was {this_play.on_second.card.player.name} held at second base?', # question=f'Was {this_play.on_second.card.player.name} held at second base?',
label_type='yes' # label_type='yes'
) # )
elif position == '2B' and (this_play.on_first is not None or this_play.on_second is not None) and (this_play.batter.card.batterscouting.battingcard.hand == 'R' or (this_play.batter.card.batterscouting.battingcard.hand == 'S' and this_play.pitcher.card.pitcherscouting.pitchingcard.hand == 'L')): elif position == '2B' and (this_play.on_first is not None or this_play.on_second is not None) and (this_play.batter.card.batterscouting.battingcard.hand == 'R' or (this_play.batter.card.batterscouting.battingcard.hand == 'S' and this_play.pitcher.card.pitcherscouting.pitchingcard.hand == 'L')):
if this_play.on_second is not None: if this_play.on_second is not None: