Skip to content

Commit

Permalink
Добавить кнопку гитхаба в лобби
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Jun 1, 2024
1 parent 6f8cfd7 commit 43c17f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Client/Info/LinkBanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ public LinkBanner()
AddInfoButton("server-info-forum-button", CCVars.InfoLinksForum);

// Sunrise-Start
AddInfoButton("server-info-github-button", CCVars.InfoLinksGithub);
var creditsButton = new Button {Text = Loc.GetString("server-info-credits-button")};
creditsButton.OnPressed += args => new CreditsWindow().Open();
creditsButton.OnPressed += _ => new CreditsWindow().Open();
buttons.AddChild(creditsButton);
// Sunrise-End

Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/info/server-info.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ server-info-wiki-button = Wiki
server-info-forum-button = Форум
server-info-report-button = Сообщить об ошибке
server-info-credits-button = Авторы
server-info-github-button = Github

0 comments on commit 43c17f5

Please sign in to comment.