mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
Fix vanilla enhancement disabler
This commit is contained in:
parent
7e2a235566
commit
57827579ee
1 changed files with 4 additions and 2 deletions
|
@ -265,8 +265,10 @@ void SohMenu::AddMenuEnhancements() {
|
||||||
AddWidget(path, "Skip Feeding Jabu-Jabu", WIDGET_CVAR_CHECKBOX)
|
AddWidget(path, "Skip Feeding Jabu-Jabu", WIDGET_CVAR_CHECKBOX)
|
||||||
.CVar(CVAR_ENHANCEMENT("TimeSavers.SkipJabuJabuFish"))
|
.CVar(CVAR_ENHANCEMENT("TimeSavers.SkipJabuJabuFish"))
|
||||||
.PreFunc([](WidgetInfo& info) {
|
.PreFunc([](WidgetInfo& info) {
|
||||||
info.options->disabled = IS_RANDO && GameInteractor::IsSaveLoaded(true);
|
info.options->disabled =
|
||||||
info.options->disabledTooltip = "This setting is disabled because a randomizer savefile is loaded.";
|
IS_RANDO && OTRGlobals::Instance->gRandoContext->GetOption(RSK_JABU_OPEN).Is(RO_JABU_OPEN);
|
||||||
|
info.options->disabledTooltip =
|
||||||
|
"This setting is disabled because a randomizer savefile with \"Jabu-Jaby: Open\" is loaded.";
|
||||||
})
|
})
|
||||||
.Options(CheckboxOptions().Tooltip("Allow Link to enter Jabu-Jabu without feeding him a fish."));
|
.Options(CheckboxOptions().Tooltip("Allow Link to enter Jabu-Jabu without feeding him a fish."));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue