We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c925c4c commit 9352d92Copy full SHA for 9352d92
Content.Client/Lobby/UI/CharacterSetupGui.xaml.cs
@@ -1,6 +1,7 @@
1
using Content.Client.Info;
2
using Content.Client.Info.PlaytimeStats;
3
using Content.Client.Resources;
4
+using Content.Corvax.Interfaces.Client;
5
using Content.Shared.Preferences;
6
using Robust.Client.AutoGenerated;
7
using Robust.Client.Graphics;
@@ -65,6 +66,13 @@ public CharacterSetupGui(
65
66
RulesButton.OnPressed += _ => new RulesAndInfoWindow().Open();
67
68
StatsButton.OnPressed += _ => new PlaytimeStatsWindow().OpenCentered();
69
+ // Corvax-Sponsors-Start
70
+ if (IoCManager.Instance!.TryResolveType<ISponsorWindowCreator>(out var creator))
71
+ {
72
+ SponsorButton.Visible = true;
73
+ SponsorButton.OnPressed += _ => creator.OpenWindow();
74
+ }
75
+ // Corvax-Sponsors-End
76
}
77
78
/// <summary>
0 commit comments