Remove use of std::format since Jenkins doesn't like it

This commit is contained in:
Josh Bodner 2022-07-20 21:44:32 -07:00
parent 3633bdeeaf
commit 795ee54f2b
2 changed files with 3 additions and 3 deletions

View File

@ -373,7 +373,7 @@ 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"] = std::format("{0}", Settings::skipChildZelda);
jsonData["settings"]["Skip Child Zelda"] = Settings::skipChildZelda ? "On" : "Off";
}
// spoilerLog.RootElement()->InsertEndChild(parentNode);

View File

@ -1678,9 +1678,9 @@ void Randomizer::ParseRandomizerSettingsFile(const char* spoilerFileName) {
}
break;
case RSK_SKIP_CHILD_ZELDA:
if (it.value() == "false") {
if (it.value() == "No") {
gSaveContext.randoSettings[index].value = 0;
} else if (it.value() == "true") {
} else if (it.value() == "Yes") {
gSaveContext.randoSettings[index].value = 1;
}
break;