]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix the sensor monitoring console (#34035)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Mon, 23 Dec 2024 19:23:03 +0000 (20:23 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Dec 2024 19:23:03 +0000 (20:23 +0100)
Still isn't really suitable to just map but at least it doesn't outright NRE anymore.

Alternative to #34032

Content.Client/SensorMonitoring/SensorMonitoringWindow.xaml.cs

index 307307c687a2334492e37f7cb1e4f19514cf7a87..717ab4076559a367a4a5b487ef537a978bd15c50 100644 (file)
@@ -28,6 +28,7 @@ public sealed partial class SensorMonitoringWindow : FancyWindow, IComputerWindo
     public SensorMonitoringWindow()
     {
         RobustXamlLoader.Load(this);
+        IoCManager.InjectDependencies(this);
     }
 
     public void UpdateState(ConsoleUIState state)