From d2e688569268946af28f47fe91844bcdd5517618 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 2 Feb 2026 14:03:58 -0700 Subject: [PATCH] Fix this --- Assets/Scripts/DiscordRPCHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/DiscordRPCHandler.cs b/Assets/Scripts/DiscordRPCHandler.cs index 6593e66..4fdd203 100644 --- a/Assets/Scripts/DiscordRPCHandler.cs +++ b/Assets/Scripts/DiscordRPCHandler.cs @@ -28,12 +28,12 @@ public class DiscordRPCHandler : MonoBehaviour void OnDestroy() { - client.Dispose(); + client?.Dispose(); } void OnApplicationQuit() { - client.Dispose(); + client?.Dispose(); } void OnApplicationPause(bool pause)