Whoops lol

This commit is contained in:
Agent X 2023-12-16 10:42:54 -05:00
parent 8484ace009
commit 949a05fd14
1 changed files with 0 additions and 3 deletions

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;