make scoreboard index accurate on other pages of scores
This commit is contained in:
parent
69d5b2723f
commit
6fdd5b5510
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ func reload_scores() -> void:
|
|||
var retrieved_scores = response.result.data.scores
|
||||
for i in scores.get_child_count():
|
||||
var score_entry = scores.get_child(i)
|
||||
score_entry.place = _page * 8 + i + 1
|
||||
if i < retrieved_scores.size():
|
||||
var score = retrieved_scores[i]
|
||||
score_entry.user = score.user.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue