Skip to content

Commit

Permalink
Update user_stats.gui_script
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Nov 6, 2023
1 parent b0c21c5 commit 63370b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user_stats/user_stats.gui_script
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function init(self)
elseif e == "GlobalStatsReceived_t" then
msg.post("#", "refresh_global_stats", t)
elseif e == "LeaderboardFindResult_t" then
steam.user_stats_download_leaderboard_entries(t.m_hSteamLeaderboard, steam.LEADERBOARD_DATA_REQUEST_GLOBAL, 1, 10)
steam.user_stats_download_leaderboard_entries(t.m_hSteamLeaderboard, steam.ELeaderboardDataRequestGlobal, 1, 10)
elseif e == "LeaderboardScoresDownloaded_t" then
msg.post("#", "refresh_leaderboard", t)
end
Expand Down

0 comments on commit 63370b2

Please sign in to comment.