Size key was missing from the party array

This commit is contained in:
Jason Citron 2017-07-27 23:36:22 -07:00
parent 9eb7e41c4b
commit 6338a572d3

View file

@ -104,6 +104,7 @@ size_t JsonWriteRichPresenceObj(char* dest,
WriteOptionalString(writer, "id", presence->partyId); WriteOptionalString(writer, "id", presence->partyId);
if (presence->partySize) { if (presence->partySize) {
WriteKey(writer, "size");
writer.StartArray(); writer.StartArray();
writer.Int(presence->partySize); writer.Int(presence->partySize);