Whoopsies

This commit is contained in:
Royce551 2019-12-25 15:26:01 -06:00
parent a3780d017d
commit 660ad61a66

View file

@ -252,7 +252,7 @@ namespace FRESHMusicPlayer
} }
public static void UpdateRPC(string Activity, string Song) public static void UpdateRPC(string Activity, string Song)
{ {
client.SetPresence(new RichPresence() client?.SetPresence(new RichPresence()
{ {
Details = Song, Details = Song,
State = Activity, State = Activity,
@ -260,6 +260,6 @@ namespace FRESHMusicPlayer
); );
} }
public static void DisposeRPC() => client.Dispose(); public static void DisposeRPC() => client?.Dispose();
} }
} }