Fix rando objects not randomizing (#6150)

Recent changes in init ordering had param hashmap built before static locations setup by hooks
This commit is contained in:
Philip Dubé
2026-01-17 18:03:51 +00:00
committed by GitHub
parent 1af0f4e395
commit 9ab58a8d07

View File

@@ -1488,8 +1488,6 @@ extern "C" void InitOTR(int argc, char* argv[]) {
SohGui::SetupGuiElements();
SohGui::SetupMenuElements();
Rando::StaticData::InitHashMaps();
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
AudioCollection::Instance = new AudioCollection();
ActorDB::Instance = new ActorDB();
#ifdef __APPLE__
@@ -1546,6 +1544,8 @@ extern "C" void InitOTR(int argc, char* argv[]) {
Anchor::Instance->Enable();
}
ShipInit::InitAll();
Rando::StaticData::InitHashMaps();
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
}
extern "C" void SaveManager_ThreadPoolWait() {