diff --git a/src/menu.rs b/src/menu.rs index fd3a025..2883c16 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -504,7 +504,7 @@ pub fn update_menu( let achievement_bools = achievement_tracker.to_bool_vec(); let rendered = achievement_tracker.to_textsections(); if let Ok(mut text) = q_achievement_text.get_single_mut() { - for i in 0..achievement_bools.len() - 1 { + for i in 0..achievement_bools.len() { text.sections[i + 1].style.color = if achievement_bools[i] { settings.hud_color_achievement_accomplished } else {