diff --git a/src/commands/stats.rs b/src/commands/stats.rs index e98301a..6fd08ae 100644 --- a/src/commands/stats.rs +++ b/src/commands/stats.rs @@ -118,15 +118,15 @@ async fn best_plays<C: MessageContext>( .layout .edit_to_relative(item_with_margin, item_grid, origin.0, origin.1); - let top_bg = &*TOP_BACKGROUND; - drawer.blit_rbga(top_area, (0, 0), top_bg); - let (play, song, chart) = if let Some(item) = plays.get(i) { item } else { break; }; + let top_bg = &*TOP_BACKGROUND; + drawer.blit_rbga(top_area, (0, 0), top_bg); + // {{{ Display index let bg = &*COUNT_BACKGROUND; let bg_center = Rect::from_image(bg).center();