mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05:00
Fix settings persistence across sessions (#3779)
Co-authored-by: jordanpg <jordanpg@users.noreply.github.com>
This commit is contained in:
parent
c9907ed5fc
commit
944a4c2e46
@ -2725,6 +2725,8 @@ extern "C" void Save_LoadFile(void) {
|
||||
// Reset rando context for rando saves.
|
||||
OTRGlobals::Instance->gRandoContext.reset();
|
||||
OTRGlobals::Instance->gRandoContext = Rando::Context::CreateInstance();
|
||||
OTRGlobals::Instance->gRandoContext->AddExcludedOptions();
|
||||
OTRGlobals::Instance->gRandoContext->GetSettings()->CreateOptions();
|
||||
}
|
||||
SaveManager::Instance->LoadFile(gSaveContext.fileNum);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user