diff --git a/src/Data/Options.cs b/src/Data/Options.cs index 7bbe313..c1bdfd3 100644 --- a/src/Data/Options.cs +++ b/src/Data/Options.cs @@ -59,30 +59,36 @@ public static void Initialize() EnableHitmarkers = _enableHitmarkers; HitmarkerSFX = _hitmarkerVolume; HitmarkerPitch = _hitmarkerPitch; + + MelonPreferences.Save(); } public static void SetDefaultSkin(string skin) { _favoritedSkin.entry.Value = skin; FavoriteSkin = _favoritedSkin; + MelonPreferences.Save(); } public static void SetEnableHitmarkers(bool enable) { _enableHitmarkers.entry.Value = enable; EnableHitmarkers = _enableHitmarkers; + MelonPreferences.Save(); } public static void SetHitmarkerVolume(float volume) { _hitmarkerVolume.entry.Value = volume; HitmarkerSFX = _hitmarkerVolume; + MelonPreferences.Save(); } public static void SetHitmarkerPitch(float pitch) { _hitmarkerPitch.entry.Value = pitch; HitmarkerPitch = _hitmarkerPitch; + MelonPreferences.Save(); } } } \ No newline at end of file