Fix Child Zelda Skip rando setting always on
This commit is contained in:
parent
235cef6abf
commit
3633bdeeaf
|
@ -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"] = Settings::skipChildZelda;
|
||||
jsonData["settings"]["Skip Child Zelda"] = std::format("{0}", Settings::skipChildZelda);
|
||||
}
|
||||
// spoilerLog.RootElement()->InsertEndChild(parentNode);
|
||||
|
||||
|
|
|
@ -1678,7 +1678,11 @@ void Randomizer::ParseRandomizerSettingsFile(const char* spoilerFileName) {
|
|||
}
|
||||
break;
|
||||
case RSK_SKIP_CHILD_ZELDA:
|
||||
gSaveContext.randoSettings[index].value = it.value();
|
||||
if (it.value() == "false") {
|
||||
gSaveContext.randoSettings[index].value = 0;
|
||||
} else if (it.value() == "true") {
|
||||
gSaveContext.randoSettings[index].value = 1;
|
||||
}
|
||||
break;
|
||||
case RSK_STARTING_CONSUMABLES:
|
||||
case RSK_FULL_WALLETS:
|
||||
|
|
Loading…
Reference in New Issue