Move Child Zelda spoiler write out of for loop so it's not repeatedly hit

This commit is contained in:
Josh Bodner 2022-07-20 23:08:57 -07:00
parent 17b3f65276
commit cddca2700a
1 changed files with 4 additions and 3 deletions

View File

@ -371,10 +371,11 @@ static void WriteSettings(const bool printAll = false) {
// }
// }
}
// 3drando doesn't have a "skip child zelda" setting, manually add it to the spoilerfile
jsonData["settings"]["Skip Child Zelda"] = Settings::skipChildZelda ? "On" : "Off";
}
// 3drando doesn't have a "skip child zelda" setting, manually add it to the spoilerfile
jsonData["settings"]["Skip Child Zelda"] = Settings::skipChildZelda ? "On" : "Off";
// spoilerLog.RootElement()->InsertEndChild(parentNode);
// for (const uint32_t key : allLocations) {