copy-n-paste bug

This commit is contained in:
Chris Marsh 2017-08-28 10:02:37 -07:00
parent 5882823830
commit e07806424b

View File

@ -123,7 +123,7 @@ size_t JsonWriteRichPresenceObj(char* dest,
if ((presence->matchSecret && presence->matchSecret[0]) ||
(presence->joinSecret && presence->joinSecret[0]) ||
(presence->spectateSecret && presence->joinSecret[0])) {
(presence->spectateSecret && presence->spectateSecret[0])) {
WriteObject secrets(writer, "secrets");
WriteOptionalString(writer, "match", presence->matchSecret);
WriteOptionalString(writer, "join", presence->joinSecret);