Fix Discord RPC not reporting the game title

This commit is contained in:
Silent 2020-09-19 15:00:03 +02:00
parent bdd98281fc
commit 67392a37ec
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -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());