mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
fix seed generation regression (#6549)
Some checks are pending
Some checks are pending
seedString is some unused variable, correct variable is seed
This commit is contained in:
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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue