Skip to content
Permalink
Browse files

Merge pull request #12490 from CookiePLMonster/discord-fixup

Do not assert in Discord::Shutdown
  • Loading branch information
hrydgard committed Nov 18, 2019
2 parents a8d2e51 + c754da6 commit 1439421fa4d65482228c487f4b092458638ed2d1
Showing with 4 additions and 3 deletions.
  1. +4 −3 UI/DiscordIntegration.cpp
@@ -64,11 +64,12 @@ void Discord::Init() {
}

void Discord::Shutdown() {
assert(initialized_);
if (initialized_) {
#ifdef ENABLE_DISCORD
Discord_Shutdown();
Discord_Shutdown();
#endif
initialized_ = false;
initialized_ = false;
}
}

void Discord::Update() {

0 comments on commit 1439421

Please sign in to comment.
You can’t perform that action at this time.