**Use away numbers when resolving away lineups** #72

Closed
opened 2026-06-03 11:07:08 +02:00 by umpire274 · 0 comments
umpire274 commented 2026-06-03 11:07:08 +02:00 (Migrated from github.com)

Use away numbers when resolving away lineups

When a player has different home/away numbers, this field is persisted/exported, but game flows still look up roster entries solely by Player::number—checked insert_team_lineup (src/cli/screens/game.rs:613-626) and lineup import's load_roster_number_map (src/cli/screens/game.rs:1212-1214). In an away game, entering or importing the away jersey number is rejected as not found, so the new away_number cannot actually be used for game lineups.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in https://github.com/umpire274/bs_scoring/pull/71#discussion_r3347131812

**Use away numbers when resolving away lineups** When a player has different home/away numbers, this field is persisted/exported, but game flows still look up roster entries solely by `Player::number`—checked `insert_team_lineup` (`src/cli/screens/game.rs:613-626`) and lineup import's `load_roster_number_map` (`src/cli/screens/game.rs:1212-1214`). In an away game, entering or importing the away jersey number is rejected as not found, so the new `away_number` cannot actually be used for game lineups. Useful? React with 👍 / 👎. _Originally posted by @chatgpt-codex-connector[bot] in https://github.com/umpire274/bs_scoring/pull/71#discussion_r3347131812_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
umpire274/bs_scoring#72
No description provided.