mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-24 23:25:34 -07:00
Handle shop items in SaveManager
This commit is contained in:
parent
b02ab9185d
commit
d02114a9d8
1 changed files with 3 additions and 1 deletions
|
@ -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("", [&]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue