Skip to content

Commit

Permalink
Fix power monitoring console dependencies (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 authored Sep 11, 2024
1 parent 6b91d92 commit dfeceba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Client/Power/PowerMonitoringWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class PowerMonitoringWindow : FancyWindow
[Dependency] private IEntityManager _entManager = default!;
private readonly SpriteSystem _spriteSystem;
[Dependency] private IGameTiming _gameTiming = default!;
[Dependency] private SharedTransformSystem _transformSystem = default!; // Frontier modification
private SharedTransformSystem _transformSystem; // Frontier modification

private const float BlinkFrequency = 1f;

Expand All @@ -42,6 +42,7 @@ public PowerMonitoringWindow()
IoCManager.InjectDependencies(this);

_spriteSystem = _entManager.System<SpriteSystem>();
_transformSystem = _entManager.System<SharedTransformSystem>(); // Frontier

// Set trackable entity selected action
NavMap.TrackedEntitySelectedAction += SetTrackedEntityFromNavMap;
Expand Down

0 comments on commit dfeceba

Please sign in to comment.