From f2a3ac1740dfb1c4c0f9c7ef738992ee21656ff2 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Thu, 6 Feb 2025 17:40:38 -0500 Subject: [PATCH] Fix enabledTricks getting incorrectly logged. (#5012) --- soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp index d78f1ef90..da4c3eb43 100644 --- a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp @@ -187,7 +187,7 @@ static void WriteEnabledTricks() { auto ctx = Rando::Context::GetInstance(); for (const auto& setting : Rando::Settings::GetInstance()->GetOptionGroup(RSG_TRICKS).GetOptions()) { - if (ctx->GetOption(setting->GetKey()).IsNot(RO_GENERIC_ON)) { + if (ctx->GetTrickOption(static_cast(setting->GetKey())).IsNot(RO_GENERIC_ON)) { continue; } jsonData["enabledTricks"].push_back(RemoveLineBreaks(setting->GetName()).c_str());