mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
Remove use of std::format since Jenkins doesn't like it
This commit is contained in:
parent
3633bdeeaf
commit
795ee54f2b
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user