Fixed rank sending and added leaderboard creation script
This commit is contained in:
parent
4f09483f59
commit
16abfe34ea
2 changed files with 55 additions and 1 deletions
|
@ -53,7 +53,7 @@ sub post_index {
|
|||
user_count => $user_count,
|
||||
global_sum => $global_sum || 0,
|
||||
global_count => $global_count,
|
||||
user_position => $current_user_position,
|
||||
user_position => defined $current_user_position ? $current_user_position->position : 0,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue