From 3b8ec9efa6035d94b227f97d044e17b215cf84ba Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Fri, 29 May 2026 11:31:13 -0700 Subject: [PATCH] quick no logic implementation --- src/dusk/randomizer/generator/logic/fill.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dusk/randomizer/generator/logic/fill.cpp b/src/dusk/randomizer/generator/logic/fill.cpp index 0992aae036..4aeb85e830 100644 --- a/src/dusk/randomizer/generator/logic/fill.cpp +++ b/src/dusk/randomizer/generator/logic/fill.cpp @@ -123,8 +123,9 @@ namespace randomizer::logic::fill // If a world is only checking for beatable logic, then we can ignore // any access checks and just choose a random location if the world is already beatable auto beatableOnlyLogic = itemToPlace->GetWorld()->Setting("Logic Rules") == "Beatable Only"; + auto noLogic = itemToPlace->GetWorld()->Setting("Logic Rules") == "No Logic"; bool canChooseAnyLocation = - search._ownedItems.contains(itemToPlace->GetWorld()->GetGameWinningItem()) && beatableOnlyLogic; + noLogic || (search._ownedItems.contains(itemToPlace->GetWorld()->GetGameWinningItem()) && beatableOnlyLogic); for (const auto& location : allowedLocations) {