paper-dynasty-discord/tests/command_logic
Cal Corum 1eda66a06c
Some checks failed
Build Docker Image / build (pull_request) Failing after 15s
fix: preserve batter at plate when half-inning ends on caught stealing
When a half-inning ended with a CS (or pickoff), the batter who was at
the plate was incorrectly skipped in the next inning. The side-switch
code unconditionally advanced the batting order by 1 without checking
whether the last play was a plate appearance. Now checks opponent_play.pa
before incrementing, matching the existing non-side-switch logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 22:37:42 -06:00
..
test_logic_gameplay.py fix: preserve batter at plate when half-inning ends on caught stealing 2026-02-10 22:37:42 -06:00
test_logic_groundballs.py Catchup commit 2025-07-22 09:22:19 -05:00