summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/Spoiler/Generate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/Rando/Spoiler/Generate.cpp')
-rw-r--r--mm/2s2h/Rando/Spoiler/Generate.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/Spoiler/Generate.cpp b/mm/2s2h/Rando/Spoiler/Generate.cpp
index 45c8d828c..7c9ca489a 100644
--- a/mm/2s2h/Rando/Spoiler/Generate.cpp
+++ b/mm/2s2h/Rando/Spoiler/Generate.cpp
@@ -19,6 +19,9 @@ nlohmann::json GenerateFromSaveContext() {
auto startingItems = Rando::GetStartingItemsFromSave(gSaveContext.save.shipSaveInfo.rando);
Rando::SetStartingItemsInSpoiler(spoiler, startingItems);
+ auto priorityItems = Rando::GetSariaPriorityItemsFromSave(gSaveContext.save.shipSaveInfo.rando);
+ Rando::SetSariaPriorityItemsInSpoiler(spoiler, priorityItems);
+
spoiler["checks"] = nlohmann::json::object();
for (auto& [randoCheckId, randoStaticCheck] : Rando::StaticData::Checks) {
if (randoStaticCheck.randoCheckId == RC_UNKNOWN) {