Prevent MQ Spirit softlock with increased crawl speed (#5667)

* disable crawl speed increase if MQ Spirit boulder exists

* bring max speed back to 5
This commit is contained in:
Eric Hoey
2025-08-25 15:03:23 -04:00
committed by GitHub
parent 6e6f8dcc9d
commit d8453b2b68
2 changed files with 13 additions and 3 deletions

View File

@@ -468,7 +468,7 @@ void SohMenu::AddMenuEnhancements() {
.Options(IntSliderOptions().Min(0).Max(5).DefaultValue(0).Format("+%d"));
AddWidget(path, "Crawl Speed %dx", WIDGET_CVAR_SLIDER_INT)
.CVar(CVAR_ENHANCEMENT("CrawlSpeed"))
.Options(IntSliderOptions().Min(1).Max(4).DefaultValue(1).Format("%dx"));
.Options(IntSliderOptions().Min(1).Max(5).DefaultValue(1).Format("%dx"));
AddWidget(path, "Exclude Glitch-Aiding Crawlspaces", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("GlitchAidingCrawlspaces"))
.PreFunc([](WidgetInfo& info) { info.isHidden = CVarGetInteger(CVAR_ENHANCEMENT("CrawlSpeed"), 0) == 1; })