From f1a81d9a8df271772dd08af2640bd0d1af0ac494 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Sat, 13 May 2023 02:02:25 +1200 Subject: [PATCH] Move StylesheetManager initialization to `PostInit()` (#16352) --- Content.Client/Entry/EntryPoint.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Client/Entry/EntryPoint.cs b/Content.Client/Entry/EntryPoint.cs index c6b9b13877..3a1f2e1cd3 100644 --- a/Content.Client/Entry/EntryPoint.cs +++ b/Content.Client/Entry/EntryPoint.cs @@ -123,7 +123,6 @@ namespace Content.Client.Entry _componentFactory.GenerateNetIds(); _adminManager.Initialize(); - _stylesheetManager.Initialize(); _screenshotHook.Initialize(); _changelogManager.Initialize(); _rulesManager.Initialize(); @@ -143,6 +142,9 @@ namespace Content.Client.Entry public override void PostInit() { base.PostInit(); + + _stylesheetManager.Initialize(); + // Setup key contexts ContentContexts.SetupContexts(_inputManager.Contexts); -- 2.51.2