fix seed generation regression (#6549)

seedString is some unused variable, correct variable is seed
This commit is contained in:
Philip Dubé
2026-04-22 03:11:07 +00:00
committed by GitHub
parent 18bf4b315f
commit 92ba43d675
@@ -48,7 +48,6 @@ std::set<RandomizerCheck> excludedLocations;
std::set<RandomizerCheck> spoilerExcludedLocations;
u8 generated;
char* seedString;
bool Rando_HandleSpoilerDrop(char* filePath) {
if (SohUtils::IsStringEmpty(filePath)) {
@@ -4181,7 +4180,7 @@ void GenerateRandomizerImgui(std::string seed = "") {
}
}
Rando::Context::GetInstance()->SetSeedGenerated(GenerateRandomizer(excludedLocations, enabledTricks, seedString));
Rando::Context::GetInstance()->SetSeedGenerated(GenerateRandomizer(excludedLocations, enabledTricks, seed));
CVarSetInteger(CVAR_GENERAL("RandoGenerating"), 0);
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame();