From 1e2b60c6e0e5fa92f66858a5f3f94ffc352b13fe Mon Sep 17 00:00:00 2001 From: Adam Bird Date: Thu, 26 Jan 2023 20:09:33 -0500 Subject: [PATCH] clear cvars that lock up randomizer menu on boot (#2405) --- soh/soh/Enhancements/bootcommands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soh/soh/Enhancements/bootcommands.c b/soh/soh/Enhancements/bootcommands.c index 4c428731e..679e61488 100644 --- a/soh/soh/Enhancements/bootcommands.c +++ b/soh/soh/Enhancements/bootcommands.c @@ -24,7 +24,9 @@ void BootCommands_Init() CVarRegisterInteger("gLanguages", LANGUAGE_ENG); CVarRegisterInteger("gDebugWarpScreenTranslation", 1); CVarRegisterInteger("gInvertYAxis", 1); + // Clears vars to prevent randomizer menu from being disabled CVarSetInteger("gRandoGenerating", 0); // Clear when a crash happened during rando seed generation + CVarSetInteger("gOnFileSelectNameEntry", 0); // Clear when soh is killed on the file name entry page #if defined(__SWITCH__) || defined(__WIIU__) CVarRegisterInteger("gControlNav", 1); // always enable controller nav on switch/wii u #endif