From ca325a2b1d01630b896921da9878a9224575b35c Mon Sep 17 00:00:00 2001 From: minenice55 Date: Fri, 5 Jan 2024 21:46:05 -0500 Subject: [PATCH] temporarily ditch discord RPC we need a new API key lol --- Assets/Scripts/GlobalGameManager.cs | 32 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/Assets/Scripts/GlobalGameManager.cs b/Assets/Scripts/GlobalGameManager.cs index 17d4bbac2..fd040d84b 100644 --- a/Assets/Scripts/GlobalGameManager.cs +++ b/Assets/Scripts/GlobalGameManager.cs @@ -428,21 +428,23 @@ namespace HeavenStudio public static void UpdateDiscordStatus(string details, bool editor = false, bool updateTime = false) { - if (discordDuringTesting || !Application.isEditor) - { - if (PersistentDataManager.gameSettings.discordRPCEnable) - { - try - { - DiscordRPC.DiscordRPC.UpdateActivity(editor ? "In Editor " : "Playing ", details, updateTime); - Debug.Log("Discord status updated"); - } - catch (System.Exception e) - { - Debug.Log("Discord status update failed: " + e.Message); - } - } - } + Debug.Log("Discord Rich Presence temporarily disabled"); + return; + // if (discordDuringTesting || !Application.isEditor) + // { + // if (PersistentDataManager.gameSettings.discordRPCEnable) + // { + // try + // { + // DiscordRPC.DiscordRPC.UpdateActivity(editor ? "In Editor " : "Playing ", details, updateTime); + // Debug.Log("Discord status updated"); + // } + // catch (System.Exception e) + // { + // Debug.Log("Discord status update failed: " + e.Message); + // } + // } + // } } private static void OnQuitting()