diff --git a/ml_prm/Settings.cs b/ml_prm/Settings.cs index d538eb3..cd2cb60 100644 --- a/ml_prm/Settings.cs +++ b/ml_prm/Settings.cs @@ -66,7 +66,7 @@ internal static void Init() AngularDrag = UnityEngine.Mathf.Clamp((float)ms_entries[(int)ModSetting.MovementDrag].BoxedValue, 0.5f, 50f); Gravity = (bool)ms_entries[(int)ModSetting.Gravity].BoxedValue; - if(MelonLoader.MelonMod.RegisteredMelons.First(m => m.Info.Name == "BTKUILib") != null) + if(MelonLoader.MelonMod.RegisteredMelons.FirstOrDefault(m => m.Info.Name == "BTKUILib") != null) { CreateBtkUi(); }