Skip to content

Commit

Permalink
Перенес ссылку на телеграм
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Nov 14, 2024
1 parent 24679af commit 8cf5db6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Content.Client/Info/LinkBanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public LinkBanner()
AddInfoButton("server-info-website-button", CCVars.InfoLinksWebsite);
AddInfoButton("server-info-wiki-button", CCVars.InfoLinksWiki);
AddInfoButton("server-info-forum-button", CCVars.InfoLinksForum);
// Sunrise-Start
AddInfoButton("server-info-telegram-button", SunriseCCVars.InfoLinksTelegram);
// Sunrise-End

var guidebookController = UserInterfaceManager.GetUIController<GuidebookUIController>();
var guidebookButton = new Button() { Text = Loc.GetString("server-info-guidebook-button") };
Expand All @@ -58,7 +61,6 @@ public LinkBanner()
};
roadmapButton.OnPressed += _ => UserInterfaceManager.GetUIController<RoadmapUIController>().ToggleRoadmap();
buttons.AddChild(roadmapButton);
AddInfoButton("server-info-telegram-button", SunriseCCVars.InfoLinksTelegram);
// Sunrise-End

void AddInfoButton(string loc, CVarDef<string> cVar)
Expand Down

0 comments on commit 8cf5db6

Please sign in to comment.