Fix misspelling of Broken Giant's Knife fix CVar (#5395)

This commit is contained in:
Jordan Longstaff
2025-04-12 12:12:48 -04:00
committed by GitHub
parent 1416b2490a
commit 46b40b0220
2 changed files with 4 additions and 4 deletions

View File

@@ -860,7 +860,7 @@ void SohMenu::AddMenuEnhancements() {
[](WidgetInfo& info) { info.isHidden = CVarGetInteger(CVAR_ENHANCEMENT("CrouchStabHammerFix"), 0) == 0; })
.Options(CheckboxOptions().Tooltip("Make crouch stabbing always do the same damage as a regular slash."));
AddWidget(path, "Fix Broken Giant's Knife Bug", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("FixGrokenGiantsKnife"))
.CVar(CVAR_ENHANCEMENT("FixBrokenGiantsKnife"))
.PreFunc([](WidgetInfo& info) {
info.options->disabled = IS_RANDO && GameInteractor::IsSaveLoaded(true);
info.options->disabledTooltip = "This setting is forcefully enabled when you are playing a Randomizer.";