Restore disabled settings

This commit is contained in:
Jacopo Libè 2021-12-15 20:01:32 +01:00 committed by Ricardo
parent 2c39834780
commit fc7be1b01e

View File

@ -46,10 +46,8 @@ namespace NomaiVR.ModConfig
ToolbeltHeight = config.GetSettingsValue<float>("toolbeltHeight") - 1f;
// Disabled these until we can fix scrolling in mod config menu.
// PreventCursorLock = config.GetSettingsValue<bool>("disableCursorLock");
// HudOpacity = config.GetSettingsValue<float>("hudOpacity");
PreventCursorLock = true;
HudOpacity = 1f;
PreventCursorLock = config.GetSettingsValue<bool>("disableCursorLock");
HudOpacity = config.GetSettingsValue<float>("hudOpacity");
OnConfigChange?.Invoke();
}