Skip to content

Commit 007668a

Browse files
committed
Fix map iteration for limitedSkills copy to apply properly
1 parent 454eff8 commit 007668a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/Calcs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function calcs.buildActiveSkill(env, mode, skill, targetUUID, limitedProcessingF
394394
-- env.limitedSkills contains a map of uuids that should be limited in calculation
395395
-- this is in order to prevent infinite recursion loops
396396
fullEnv.limitedSkills = fullEnv.limitedSkills or {}
397-
for _, uuid in ipairs(env.limitedSkills or {}) do
397+
for uuid, _ in pairs(env.limitedSkills or {}) do
398398
fullEnv.limitedSkills[uuid] = true
399399
end
400400
for _, uuid in ipairs(limitedProcessingFlags or {}) do

0 commit comments

Comments
 (0)