Fix Discord RPC not reporting the game title

pull/866/head
Silent 6 years ago
parent bdd98281fc
commit 67392a37ec
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

@ -2371,7 +2371,7 @@ void CommonHostInterface::UpdateDiscordPresence()
rp.startTimestamp = std::time(nullptr);
SmallString details_string;
if (System::IsValid())
if (!System::IsShutdown())
{
details_string.AppendFormattedString("%s (%s)", System::GetRunningTitle().c_str(),
System::GetRunningCode().c_str());

Loading…
Cancel
Save