Add Discord Rich Presence
This commit is contained in:
@@ -688,6 +688,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
if (selectedReplay != null && ReplayUtils.PromptConfirmReplayCompatibility(selectedReplay))
|
||||
{
|
||||
cancelLoadingReplays = true;
|
||||
|
||||
DiscordService.UpdateStatus(DiscordState.WatchingReplay);
|
||||
|
||||
Game.JoinReplay(selectedReplay.FilePath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user