Skip to content

Commit

Permalink
Update leaderboards.md
Browse files Browse the repository at this point in the history
highlight functions
  • Loading branch information
aesereht authored Oct 7, 2024
1 parent f8f9186 commit 2561527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/leaderboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func on_file_share_result( result: int, handle, name: String ):
When you successfully set your file and uploaded it now you can attach it to leaderboard.

!!! warning "Notes"
You must call findLeaderboard or findOrCreateLeaderboard to get a leaderboard handle prior to calling this function. You can store it for example as `LEADERBOARD_HANDLE`.
You must call `findLeaderboard()` or `findOrCreateLeaderboard()` to get a leaderboard handle prior to calling this function. You can store it for example as `LEADERBOARD_HANDLE`.

```gdscript
func on_leaderboard_ugc_set( handle:int, result:String ) -> void:
Expand Down

0 comments on commit 2561527

Please sign in to comment.