From 92ba43d67557814dd36c7c235fc3919a56d66f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Wed, 22 Apr 2026 03:11:07 +0000 Subject: [PATCH] fix seed generation regression (#6549) seedString is some unused variable, correct variable is seed --- soh/soh/Enhancements/randomizer/randomizer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index abc75424a..42dee748c 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -48,7 +48,6 @@ std::set excludedLocations; std::set 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();