From c5f7c52579fedd055a540d0d3825776976257dd3 Mon Sep 17 00:00:00 2001 From: wixoaGit Date: Tue, 13 Feb 2024 20:11:22 -0500 Subject: [PATCH] Set the default secondary icon in Discord Rich Presence --- OpenDreamRuntime/EntryPoint.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenDreamRuntime/EntryPoint.cs b/OpenDreamRuntime/EntryPoint.cs index be24d5dfd6..6ceb5bedd5 100644 --- a/OpenDreamRuntime/EntryPoint.cs +++ b/OpenDreamRuntime/EntryPoint.cs @@ -43,6 +43,7 @@ public override void Init() { _configManager.OverrideDefault(CVars.NetLogLateMsg, false); // Disable since disabling prediction causes timing errors otherwise. _configManager.OverrideDefault(CVars.GameAutoPauseEmpty, false); // TODO: world.sleep_offline can control this + _configManager.OverrideDefault(CVars.DiscordRichPresenceSecondIconId, "opendream"); _configManager.SetCVar(CVars.GridSplitting, false); // Grid splitting should never be used if(String.IsNullOrEmpty(_configManager.GetCVar(OpenDreamCVars.JsonPath))) //if you haven't set the jsonpath cvar, set it to the first valid file path passed as an arg foreach (string arg in Environment.GetCommandLineArgs().Skip(1)) //skip the first element, because it's just the server's exe path