Skip to content

Commit

Permalink
Merge pull request #850 from WALLOFJUSTICE/dev-23-q3-2
Browse files Browse the repository at this point in the history
* another stat fix
  • Loading branch information
WALLOFJUSTICE authored Oct 24, 2024
2 parents 8e64a17 + 28b37c1 commit e30a480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/playfab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ void PlayfabUser_t::globalStat(int index, int value)

PlayFab::EventsModels::WriteEventsRequest eventRequest;
PlayFab::EventsModels::EventContents eventContent;
eventContent.EventNamespace = "custom.global_stats";
eventContent.Name = "global_stats";
eventContent.EventNamespace = "custom.statglobal";
eventContent.Name = "statglobal";
eventContent.Payload["stat"] = SteamGlobalStatStr[index].c_str();
eventRequest.Events.push_back(eventContent);
PlayFab::PlayFabEventsAPI::WriteTelemetryEvents(eventRequest, OnEventsWrite, OnCloudScriptFailure);
Expand Down

0 comments on commit e30a480

Please sign in to comment.