From 29cb1b02e0abf93b6d0d85d055ad9109916926c4 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Wed, 31 Jul 2024 08:18:38 -0400 Subject: [PATCH] Hotfix Late Joins (#612) # Description Last update broke late joins on Release build. This hotfixes latejoins. --- Content.Client/LateJoin/LateJoinGui.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/LateJoin/LateJoinGui.cs b/Content.Client/LateJoin/LateJoinGui.cs index c9737e09b13..ff6c8bc3c54 100644 --- a/Content.Client/LateJoin/LateJoinGui.cs +++ b/Content.Client/LateJoin/LateJoinGui.cs @@ -30,7 +30,6 @@ public sealed class LateJoinGui : DefaultWindow [Dependency] private readonly IConfigurationManager _configManager = default!; [Dependency] private readonly IEntitySystemManager _entitySystem = default!; [Dependency] private readonly JobRequirementsManager _jobRequirements = default!; - [Dependency] private readonly CharacterRequirementsSystem _characterRequirements = default!; [Dependency] private readonly IEntityManager _entityManager = default!; [Dependency] private readonly IClientPreferencesManager _prefs = default!; @@ -39,6 +38,7 @@ public sealed class LateJoinGui : DefaultWindow private readonly ClientGameTicker _gameTicker; private readonly SpriteSystem _sprites; private readonly CrewManifestSystem _crewManifest; + private readonly CharacterRequirementsSystem _characterRequirements; private readonly Dictionary>> _jobButtons = new(); private readonly Dictionary> _jobCategories = new(); @@ -53,6 +53,7 @@ public LateJoinGui() _sprites = _entitySystem.GetEntitySystem(); _crewManifest = _entitySystem.GetEntitySystem(); _gameTicker = _entitySystem.GetEntitySystem(); + _characterRequirements = _entitySystem.GetEntitySystem(); Title = Loc.GetString("late-join-gui-title");