From f1a074d6eae3b5b6d754036f3e6fd8178cdbbd8d Mon Sep 17 00:00:00 2001 From: aMannus Date: Wed, 6 Aug 2025 22:42:20 +0200 Subject: [PATCH] Fix jabu jabu option --- soh/soh/Enhancements/randomizer/context.cpp | 1 + soh/soh/Enhancements/timesaver_hook_handlers.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/context.cpp b/soh/soh/Enhancements/randomizer/context.cpp index 26b37fcde..852c7434b 100644 --- a/soh/soh/Enhancements/randomizer/context.cpp +++ b/soh/soh/Enhancements/randomizer/context.cpp @@ -474,6 +474,7 @@ void Context::ParseArchipelagoOptions(const std::map& slot_dat mOptions[RSK_DOOR_OF_TIME].Set(slotData["door_of_time"]); mOptions[RSK_ZORAS_FOUNTAIN].Set(slotData["zoras_fountain"]); mOptions[RSK_SLEEPING_WATERFALL].Set(slotData["sleeping_waterfall"]); + mOptions[RSK_JABU_OPEN].Set(slotData["jabu_jabu"]); mOptions[RSK_STARTING_AGE].Set(RO_AGE_CHILD); mOptions[RSK_SELECTED_STARTING_AGE].Set(0); mOptions[RSK_GERUDO_FORTRESS].Set(slotData["fortress_carpenters"]); diff --git a/soh/soh/Enhancements/timesaver_hook_handlers.cpp b/soh/soh/Enhancements/timesaver_hook_handlers.cpp index 662c0d857..49657c3c2 100644 --- a/soh/soh/Enhancements/timesaver_hook_handlers.cpp +++ b/soh/soh/Enhancements/timesaver_hook_handlers.cpp @@ -942,7 +942,7 @@ void TimeSaverOnActorInitHandler(void* actorRef) { }); } - if (actor->id == ACTOR_EN_JJ && !IS_RANDO) { + if (actor->id == ACTOR_EN_JJ) { enJjUpdateHook = GameInteractor::Instance->RegisterGameHook([](void* innerActorRef) mutable { Actor* innerActor = static_cast(innerActorRef);