Skip to content

Commit

Permalink
Merge branch 'infolinks' of https://github.com/ike709/OpenDream into …
Browse files Browse the repository at this point in the history
…infolinks
  • Loading branch information
ike709 committed Dec 31, 2023
2 parents 8754cab + 256ae0e commit 723ac67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenDreamRuntime/ServerInfoManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ private static readonly (CVarDef<string> cVar, string icon, string name)[] Vars

[Dependency] private readonly IStatusHost _statusHost = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly ILocalizationManager _loc = default!;

public void Initialize() {
_statusHost.OnInfoRequest += OnInfoRequest;
Expand All @@ -33,7 +32,7 @@ private void OnInfoRequest(JsonNode json) {
if (string.IsNullOrEmpty(url))
continue;

StatusHostHelpers.AddLink(json, _loc.GetString(name), url, icon);
StatusHostHelpers.AddLink(json, name, url, icon);
}
}
}

0 comments on commit 723ac67

Please sign in to comment.