From 721d224fd701e7d2ac84f163663c5c9d8d9aa2f2 Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Wed, 28 May 2025 12:45:38 -0400 Subject: [PATCH] Cleanup some misc warnings (#37904) * Fix warning CS8524 for TurretControllerWindow * Fix warning CS0660 for AtmosAlarmThreshold --- .../TurretController/TurretControllerWindow.xaml.cs | 1 + Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Content.Client/TurretController/TurretControllerWindow.xaml.cs b/Content.Client/TurretController/TurretControllerWindow.xaml.cs index 020c894f54..2f6d81ff70 100644 --- a/Content.Client/TurretController/TurretControllerWindow.xaml.cs +++ b/Content.Client/TurretController/TurretControllerWindow.xaml.cs @@ -115,6 +115,7 @@ public sealed partial class TurretControllerWindow : BaseWindow TurretArmamentSetting.Safe => SafeButton, TurretArmamentSetting.Stun => StunButton, TurretArmamentSetting.Lethal => LethalButton, + _ => throw new NotImplementedException(), }; setPressedOn.Pressed = true; diff --git a/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs b/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs index f80a887b4f..89d0bf2392 100644 --- a/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs +++ b/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs @@ -348,6 +348,11 @@ public readonly partial struct AlarmThresholdSetting: IEquatable