diff --git a/mm/2s2h/BenGui/SearchableMenuItems.h b/mm/2s2h/BenGui/SearchableMenuItems.h index 36b6863ec..ab1b207d3 100644 --- a/mm/2s2h/BenGui/SearchableMenuItems.h +++ b/mm/2s2h/BenGui/SearchableMenuItems.h @@ -1026,7 +1026,7 @@ void AddEnhancements() { "gEnhancements.Camera.Mouse.Enabled", "", WIDGET_CVAR_CHECKBOX, - { .defaultValue = false } }, + { .defaultVariant = false } }, { "Invert Camera X Axis", "gEnhancements.Camera.Mouse.InvertX", "Inverts the Camera X Axis", @@ -1038,7 +1038,7 @@ void AddEnhancements() { "gEnhancements.Camera.Mouse.InvertY", "Inverts the Camera Y Axis", WIDGET_CVAR_CHECKBOX, - { .defaultValue = true }, + { .defaultVariant = true }, nullptr, [](widgetInfo& info) { info.isHidden = disabledMap.at(DISABLE_FOR_MOUSE_OFF).active; } }, { "Third-Person Horizontal Sensitivity: %.0f", @@ -1057,7 +1057,6 @@ void AddEnhancements() { { .min = 0.01f, .max = 5.0f, .defaultVariant = 1.0f, .format = "%.0f%%", .isPercentage = true }, nullptr, [](widgetInfo& info) { info.isHidden = disabledMap.at(DISABLE_FOR_MOUSE_OFF).active; } }, - { "First-Person invert X Axis", "gEnhancements.Camera.Mouse.FirstPerson.InvertX", "", @@ -1069,7 +1068,7 @@ void AddEnhancements() { "gEnhancements.Camera.Mouse.FirstPerson.InvertY", "", WIDGET_CVAR_CHECKBOX, - { .defaultValue = true }, + { .defaultVariant = true }, nullptr, [](widgetInfo& info) { info.isHidden = disabledMap.at(DISABLE_FOR_MOUSE_OFF).active; } }, { "First-Person Horizontal Sensitivity: %.0f",