mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 06:02:08 -05:00
Handle shop items in SaveManager
This commit is contained in:
parent
b02ab9185d
commit
d02114a9d8
@ -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…
x
Reference in New Issue
Block a user