summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/Menu.cpp
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2026-01-24 13:50:39 -0600
committerGitHub <noreply@github.com>2026-01-24 13:50:39 -0600
commitf1dee0072680609f60282bbb235718f1c444cdd5 (patch)
treeaba9714187543aee171f9050eb50db8d1ff7c8d3 /mm/2s2h/Rando/Menu.cpp
parent1e57e04d44fda7a44629a8e5db5637300016a2e7 (diff)
Fix a glitchless gen issue, tweak logging, and tweak metrics (#1500)
Diffstat (limited to 'mm/2s2h/Rando/Menu.cpp')
-rw-r--r--mm/2s2h/Rando/Menu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/Menu.cpp b/mm/2s2h/Rando/Menu.cpp
index b0b63dc35..29796a91d 100644
--- a/mm/2s2h/Rando/Menu.cpp
+++ b/mm/2s2h/Rando/Menu.cpp
@@ -148,6 +148,8 @@ void SaveExcludedChecks() {
excludedString += ",";
}
CVarSetString("gRando.ExcludedChecks", excludedString.c_str());
+ Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame();
+ ShipInit::Init("gRando.ExcludedChecks");
}
void LoadExcludedChecks() {
@@ -211,6 +213,7 @@ void RefreshMetrics() {
static RegisterShipInitFunc refreshMetricsInit(RefreshMetrics, {
// I Don't love this, but it works...
+ "gRando.ExcludedChecks",
"gRando.Options.RO_ACCESS_DUNGEONS",
"gRando.Options.RO_ACCESS_MAJORA_MASKS_COUNT",
"gRando.Options.RO_ACCESS_MAJORA_REMAINS_COUNT",