From 63cb922c4d89b076aff574fbaaeeaa3a974a58e5 Mon Sep 17 00:00:00 2001 From: Jarno Westhof Date: Tue, 21 Jan 2025 23:23:35 +0100 Subject: [PATCH] Hopefully fixed the mam from getting placed behind harddrives --- worlds/satisfactory/Locations.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/worlds/satisfactory/Locations.py b/worlds/satisfactory/Locations.py index def02afa7e..f7a2d5f0b8 100644 --- a/worlds/satisfactory/Locations.py +++ b/worlds/satisfactory/Locations.py @@ -162,9 +162,8 @@ class DropPod(LocationData): # without you just going to have to figure it your yourself def logic_rule(state: CollectionState): - return not unlocked_by or (state_logic - and state_logic.can_produce(state, unlocked_by) - and state_logic.can_build(state, "MAM")) + return state_logic.can_build(state, "MAM") and ( + (not unlocked_by) or (state_logic and state_logic.can_produce(state, unlocked_by))) return logic_rule