Whoops lol

This commit is contained in:
Agent X 2023-12-16 10:42:54 -05:00
parent 8484ace009
commit 949a05fd14

View file

@ -68,10 +68,7 @@ static void strncat_len(char* destination, char* source, size_t destinationLengt
static void discord_populate_details(char* buffer, int bufferLength) { static void discord_populate_details(char* buffer, int bufferLength) {
// get version // get version
bool stored = gCoopCompatibility;
gCoopCompatibility = true;
const char* version = get_version(); const char* version = get_version();
gCoopCompatibility = stored;
int versionLength = strlen(version); int versionLength = strlen(version);
snprintf(buffer, bufferLength, "%s", version); snprintf(buffer, bufferLength, "%s", version);
buffer += versionLength; buffer += versionLength;