diff --git a/.run/Content Server+Client.run.xml b/.run/Content Server+Client.run.xml index 191d737ccf..f982a98524 100644 --- a/.run/Content Server+Client.run.xml +++ b/.run/Content Server+Client.run.xml @@ -4,4 +4,4 @@ - + \ No newline at end of file diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs b/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs index 550d0fcdfe..a3a03cd14e 100644 --- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs +++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs @@ -31,6 +31,7 @@ public sealed class CrewMonitoringBoundUserInterface : BoundUserInterface _menu = this.CreateWindow(); _menu.Set(stationName, gridUid); + _menu.SetBoundUserInterface(this); } protected override void UpdateState(BoundUserInterfaceState state) @@ -42,6 +43,7 @@ public sealed class CrewMonitoringBoundUserInterface : BoundUserInterface case CrewMonitoringState st: EntMan.TryGetComponent(Owner, out var xform); _menu?.ShowSensors(st.Sensors, Owner, xform?.Coordinates); + _menu?.UpdateCorpseAlertToggle(st.CorpseAlertEnabled); break; } } diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml index dd40749d33..fa32aff610 100644 --- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml +++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml @@ -11,7 +11,13 @@ -