Skip to content

Commit

Permalink
Update steam_userstats.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Mar 14, 2024
1 parent b519fa7 commit 7889075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steam/src/steam_userstats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ int SteamUserStats_DownloadLeaderboardEntries(lua_State* L)

/** Returns data about a single leaderboard entry
* @name user_stats_get_downloaded_leaderboard_entry
* @string leaderboard Leaderboard handle
* @string hSteamLeaderboardEntries Leaderboard entries handle
* @number index Which entry to get
* @treturn Boolean ok
* @treturn Table entry The requested leaderboard entry.
Expand All @@ -519,7 +519,7 @@ int SteamUserStats_GetDownloadedLeaderboardEntry(lua_State* L)

SteamLeaderboardEntries_t hSteamLeaderboardEntries = check_uint64(L, 1);
int index = luaL_checknumber(L, 2);
int detailsMax = luaL_checknumber(L, 3);
int detailsMax = 1
int32 details[detailsMax];

LeaderboardEntry_t leaderboardEntry;
Expand Down

0 comments on commit 7889075

Please sign in to comment.