Skip to content

Commit 9b37b71

Browse files
author
LocalIdentity
committed
Fix crash when importing some Djinn builds
The skill Kelari's Deception assumed that we had a skill for it but it is a part of the minion as GGG handle the minion in a weird way We now make sure that the activeSkillList exists before looping through it
1 parent b1aa8ad commit 9b37b71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/Build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,7 @@ function buildMode:RefreshSkillSelectControls(controls, mainGroup, suffix)
20402040
controls.mainSkillMinion.enabled = #controls.mainSkillMinion.list > 1
20412041
controls.mainSkillMinion.shown = true
20422042
wipeTable(controls.mainSkillMinionSkill.list)
2043-
if activeSkill.minion then
2043+
if activeSkill.minion and activeSkill.minion.activeSkillList then
20442044
for _, minionSkill in ipairs(activeSkill.minion.activeSkillList) do
20452045
t_insert(controls.mainSkillMinionSkill.list, minionSkill.activeEffect.grantedEffect.name)
20462046
end

0 commit comments

Comments
 (0)