Update gameplay.py
Fixed SB 3rd failing
This commit is contained in:
parent
bd59b018f5
commit
bb1113032d
@ -2753,10 +2753,6 @@ class Gameplay(commands.Cog):
|
||||
patch_play(
|
||||
this_play.id, sb=1, on_second_final=3, runner_id=this_play.on_second.id, catcher_id=catcher.id
|
||||
)
|
||||
if this_play.on_first:
|
||||
advance_one_runner(
|
||||
this_play.id, from_base=1, num_bases=1
|
||||
)
|
||||
else:
|
||||
this_runner = await get_player(this_game, this_play.on_second)
|
||||
await interaction.edit_original_response(
|
||||
@ -2764,6 +2760,10 @@ class Gameplay(commands.Cog):
|
||||
)
|
||||
patch_play(this_play.id, locked=False)
|
||||
return
|
||||
if this_play.on_first:
|
||||
advance_one_runner(
|
||||
this_play.id, from_base=1, num_bases=1
|
||||
)
|
||||
elif to_base == 2 and this_play.on_first:
|
||||
if not this_play.on_second:
|
||||
patch_play(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user