fix off-by-one error that hid the eclipse achievement in the menu
This commit is contained in:
parent
039440cd7e
commit
0badc52914
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue