From c877530540e1b41b7d257fb77a3b561d29e9a0ae Mon Sep 17 00:00:00 2001 From: Buurazu Date: Mon, 1 Jul 2024 22:45:59 -0400 Subject: [PATCH] Fix car battery pedestal showing no effect erroneously --- features/eid_conditionals_funcs.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/eid_conditionals_funcs.lua b/features/eid_conditionals_funcs.lua index 6871dd4d..83ae3200 100644 --- a/features/eid_conditionals_funcs.lua +++ b/features/eid_conditionals_funcs.lua @@ -306,8 +306,8 @@ end -- When we're looking at a Car Battery pedestal, check our actives for having no effect function EID:CheckActivesForCarBattery(descObj) if EID.InsideItemReminder then return false end - for k,_ in pairs(EID.CarBatteryNoSynergy) do - if EID:PlayersHaveCollectible(k) then return k end + for k,v in pairs(EID.CarBatteryNoSynergy) do + if v and EID:PlayersHaveCollectible(k) then return k end end return false end @@ -327,8 +327,8 @@ end -- When we're looking at a BFFS pedestal, check our familiars for having no effect (only finds the earliest one, but whatever) function EID:CheckFamiliarsForBFFS(descObj) if EID.InsideItemReminder then return false end - for k,_ in pairs(EID.BFFSNoSynergy) do - if EID:PlayersHaveCollectible(k) then return k end + for k,v in pairs(EID.BFFSNoSynergy) do + if v and EID:PlayersHaveCollectible(k) then return k end end return false end