Skip to content

Commit

Permalink
fix stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
LtPeriwinkle committed Jun 15, 2022
1 parent f1eeb1e commit b66f767
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,7 @@ impl<'a, 'b> RenderState<'a, 'b> {
}
};
let time = if let Panel::SumOfBest = panel {
let sob = run
.borrow()
.gold_times()
.iter()
.map(|t| t.val())
.sum::<u128>();
let sob = run.borrow().gold_times().iter().sum::<u128>();
format::split_time_text(sob)
} else {
"- ".into()
Expand Down

0 comments on commit b66f767

Please sign in to comment.