Merge pull request #11477 from shuffle2/nodc

buildfix if discord isn't enabled
This commit is contained in:
Pierre Bourdon 2023-01-23 15:52:10 +01:00 committed by GitHub
commit 80123b19f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,8 @@ bool UpdateDiscordPresenceRaw(const std::string& details, const std::string& sta
Discord_UpdatePresence(&discord_presence);
return true;
#else
return false;
#endif
}