mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-09 04:58:03 -05:00
Fixes bug in loading of MQ Dungeons. (#1859)
This commit is contained in:
parent
f860d57c8c
commit
4adfb93b48
@ -197,7 +197,7 @@ void SaveManager::LoadRandomizerVersion2() {
|
|||||||
SaveManager::Instance->LoadData("masterQuestDungeonCount", gSaveContext.mqDungeonCount, (uint8_t)0);
|
SaveManager::Instance->LoadData("masterQuestDungeonCount", gSaveContext.mqDungeonCount, (uint8_t)0);
|
||||||
|
|
||||||
OTRGlobals::Instance->gRandomizer->masterQuestDungeons.clear();
|
OTRGlobals::Instance->gRandomizer->masterQuestDungeons.clear();
|
||||||
SaveManager::Instance->LoadArray("masterQuestDungeons", randomizer->GetRandoSettingValue(RSK_MQ_DUNGEON_COUNT), [&](size_t i) {
|
SaveManager::Instance->LoadArray("masterQuestDungeons", gSaveContext.mqDungeonCount, [&](size_t i) {
|
||||||
uint16_t scene;
|
uint16_t scene;
|
||||||
SaveManager::Instance->LoadData("", scene);
|
SaveManager::Instance->LoadData("", scene);
|
||||||
randomizer->masterQuestDungeons.emplace(scene);
|
randomizer->masterQuestDungeons.emplace(scene);
|
||||||
|
Loading…
Reference in New Issue
Block a user