mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-03-15 04:14:47 +00:00
misc: chore: Early exit HandlePlayReport if RPC is not enabled
This commit is contained in:
parent
b2eecd28ce
commit
55536f5d78
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ namespace Ryujinx.Ava
|
|||
|
||||
private static void HandlePlayReport(MessagePackObject playReport)
|
||||
{
|
||||
if (_discordClient is null) return;
|
||||
if (!TitleIDs.CurrentApplication.Value.HasValue) return;
|
||||
if (_discordPresencePlaying is null) return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue