Skip to content

Commit

Permalink
Set the default secondary icon in Discord Rich Presence (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit authored Feb 14, 2024
1 parent 9e11562 commit 683fb3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenDreamRuntime/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>(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
Expand Down

0 comments on commit 683fb3d

Please sign in to comment.