Merge pull request #11838 from brad0/discordpresence_warning_fix

Fix s_using_custom_client warning with DiscordPresence
This commit is contained in:
Admiral H. Curtiss 2023-05-23 20:59:21 +02:00 committed by GitHub
commit 60cb88d379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,9 +25,9 @@
namespace Discord
{
#ifdef USE_DISCORD_PRESENCE
static bool s_using_custom_client = false;
#ifdef USE_DISCORD_PRESENCE
namespace
{
Handler* event_handler = nullptr;