From 257cf79b066ababff52f787907fd60ecada7b88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Tue, 13 Oct 2026 13:11:05 +0000 Subject: [PATCH] fix invalid return in nayru's love uses (#7386) --- soh/soh/Enhancements/randomizer/hook_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index a1f60e2058..730fe43ed3 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -1891,7 +1891,7 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l *should = false; } if (item == ITEM_NAYRUS_LOVE) { - return RAND_GET_OPTION(RSK_NAYRUS_LOVE_USES).Get() > 0; + *should = RAND_GET_OPTION(RSK_NAYRUS_LOVE_USES).Get() > 0; } break; }