Skip to content

Commit bcbea1a

Browse files
author
David Medgyesy
committed
Fix indentation in active skill socket lookup
1 parent 58d139e commit bcbea1a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/Modules/CalcSetup.lua‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,15 +1840,15 @@ function calcs.initEnv(build, mode, override, specEnv)
18401840
local slotHasActiveSkill = false
18411841

18421842
-- Create active skills
1843-
for _, gemInstance in ipairs(group.gemList) do
1843+
for _, gemInstance in ipairs(group.gemList) do
18441844
if gemInstance.enabled and (gemInstance.gemData or gemInstance.grantedEffect) then
1845-
local socketIndex = socketIndexByGem[gemInstance]
1845+
local socketIndex = socketIndexByGem[gemInstance]
18461846
local grantedEffectList = gemInstance.gemData and gemInstance.gemData.grantedEffectList or { gemInstance.grantedEffect }
18471847
local gemSkill
18481848
for index, grantedEffect in ipairs(grantedEffectList) do
18491849
if not grantedEffect.support and not grantedEffect.unsupported and (not grantedEffect.hasGlobalEffect or gemInstance["enableGlobal"..index]) then
18501850
slotHasActiveSkill = true
1851-
local socketQuality = getMatchingSocketQuality(env, groupCfg, gemInstance, socketIndex)
1851+
local socketQuality = getMatchingSocketQuality(env, groupCfg, gemInstance, socketIndex)
18521852
local actualQuality = gemInstance.quality + socketQuality
18531853
local activeEffect = {
18541854
grantedEffect = grantedEffect,

0 commit comments

Comments
 (0)