mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-29 06:15:45 -04:00
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…
x
Reference in New Issue
Block a user