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) {
// get version
bool stored = gCoopCompatibility;
gCoopCompatibility = true;
const char* version = get_version();
gCoopCompatibility = stored;
int versionLength = strlen(version);
snprintf(buffer, bufferLength, "%s", version);
buffer += versionLength;