mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 07:09:55 -06:00
misc: chore: Early exit HandlePlayReport if RPC is not enabled
This commit is contained in:
@ -131,6 +131,7 @@ namespace Ryujinx.Ava
|
|||||||
|
|
||||||
private static void HandlePlayReport(MessagePackObject playReport)
|
private static void HandlePlayReport(MessagePackObject playReport)
|
||||||
{
|
{
|
||||||
|
if (_discordClient is null) return;
|
||||||
if (!TitleIDs.CurrentApplication.Value.HasValue) return;
|
if (!TitleIDs.CurrentApplication.Value.HasValue) return;
|
||||||
if (_discordPresencePlaying is null) return;
|
if (_discordPresencePlaying is null) return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user