I'm setting an object with 2 values but it ends up only getting one. In the group object when I check it just has {"playersInTournament": 0} instead of
{ "amount" : tournamentAmount, "playersInTournament": 0 };
Here is the code I am using.
var tournamentInfo = { "amount" : tournamentAmount, "playersInTournament": 0 }; // set info like current round and max players (amount) var setObjectResult = entity.SetObjects({ Entity: tournament, Objects: [ { ObjectName: "TournamentInfo", DataObject: tournamentInfo } ] });