Completely clear leaderboard on force update
This commit is contained in:
parent
e4bb7fc2b6
commit
17cd3b2df8
1 changed files with 1 additions and 2 deletions
|
@ -215,9 +215,8 @@ impl LeaderBoard {
|
|||
.child_at(0, self.leaderboard_entries.len() - 1)?
|
||||
.is_none()
|
||||
{
|
||||
for (i, entry) in self.leaderboard_entries.iter().enumerate() {
|
||||
for i in 0..self.leaderboard_grid.dimensions().1 {
|
||||
self.leaderboard_grid.detach(0, i)?;
|
||||
entry.snippet().set_visibility(false)?;
|
||||
}
|
||||
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue