Skip to content

Commit

Permalink
steam: Print debug output if StoreStats() failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Sep 26, 2023
1 parent 2aa0fd7 commit 6d153ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/steam/SteamAchievements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ void SteamAchievements::onUserStatsReceived(UserStatsReceived_t* callback) {
initialized = true;
}

void SteamAchievements::onUserStatsStored(UserStatsStored_t*) {
void SteamAchievements::onUserStatsStored(UserStatsStored_t* callback) {
if (callback->m_eResult != k_EResultOK) {
debugLn("StoreStats() failed.");
}
}

void SteamAchievements::onAchievementStored(UserAchievementStored_t*) {
Expand Down

0 comments on commit 6d153ce

Please sign in to comment.