BACKENDS: Use unique game ID for Discord presence
Append engine ID to ensure uniqueness
This commit is contained in:
parent
43fe44f4bb
commit
60b2c9164b
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,8 @@ void OSystem_SDL::engineInit() {
|
|||
#endif
|
||||
#ifdef USE_DISCORD
|
||||
// Set the presence status to the current running engine
|
||||
_presence->updateStatus(ConfMan.get("gameid"), ConfMan.get("description"));
|
||||
Common::String qualifiedGameId = Common::String::format("%s-%s", ConfMan.get("engineid").c_str(), ConfMan.get("gameid").c_str());
|
||||
_presence->updateStatus(qualifiedGameId, ConfMan.get("description"));
|
||||
#endif
|
||||
|
||||
_eventSource->setEngineRunning(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue