diff --git a/src/serialization.cpp b/src/serialization.cpp index ef08e22..a79363e 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -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);