Skip to content

Commit

Permalink
Win rate formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
makscee committed May 18, 2024
1 parent f7bef22 commit 1a520f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/plugins/player_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,7 @@ impl Columns {
.label(ui);
}
Columns::WinRate => {
player
.data
.win_rate
.to_string()
format!("{:.2}", player.data.win_rate)
.add_color(white())
.label(ui);
}
Expand Down

0 comments on commit 1a520f4

Please sign in to comment.