Skip to content

Commit

Permalink
Show inning top/half/end better
Browse files Browse the repository at this point in the history
  • Loading branch information
rcy committed Oct 31, 2024
1 parent 3a2618b commit 2f5a0de
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions handlers/mlb/gameodds.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ func GameOdds(params bot.HandlerParams) error {
return err
}

half := "top"
if g[0].Scores.InningHalf == 1 {
half = "bot"
}

bases := ""
if g[0].Scores.Has3B == 1 {
bases += "<"
Expand All @@ -98,7 +93,7 @@ func GameOdds(params bot.HandlerParams) error {
g[0].Scores.HomeScore,
g[0].Scores.LiveWEHome*100,
g[0].Scores.Outs,
half,
g[0].Scores.Ih,
g[0].Scores.Inning,
bases)

Expand Down

0 comments on commit 2f5a0de

Please sign in to comment.