* Fix warning CS8524 for TurretControllerWindow
* Fix warning CS0660 for AtmosAlarmThreshold
TurretArmamentSetting.Safe => SafeButton,
TurretArmamentSetting.Stun => StunButton,
TurretArmamentSetting.Lethal => LethalButton,
+ _ => throw new NotImplementedException(),
};
setPressedOn.Pressed = true;
return true;
}
+ public override bool Equals(object? obj)
+ {
+ return obj is AlarmThresholdSetting ats && Equals(ats);
+ }
+
public static bool operator ==(AlarmThresholdSetting lhs, AlarmThresholdSetting rhs)
{
return lhs.Equals(rhs);