Merge pull request #866 from CookiePLMonster/discord-running-game
Fix Discord RPC not reporting the game title
This commit is contained in:
commit
3bdda39e1f
|
@ -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…
Reference in New Issue