mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-07 10:25:39 -04:00
Handle shop items in SaveManager
This commit is contained in:
@@ -98,7 +98,9 @@ void SaveManager::LoadRandomizerVersion1() {
|
||||
if (randomizer->GetRandoSettingValue(RSK_SHUFFLE_SCRUBS) > 0) {
|
||||
merchantPricesSize += NUM_SCRUBS;
|
||||
}
|
||||
// TODO: Add shop item count when shopsanity is enabled
|
||||
if (randomizer->GetRandoSettingValue(RSK_SHOPSANITY) > 0) {
|
||||
merchantPricesSize += NUM_SHOP_ITEMS;
|
||||
}
|
||||
|
||||
SaveManager::Instance->LoadArray("merchantPrices", merchantPricesSize, [&](size_t i) {
|
||||
SaveManager::Instance->LoadStruct("", [&]() {
|
||||
|
||||
Reference in New Issue
Block a user