Skip to content

Commit cb0c593

Browse files
committed
add modflag to imbued changes
1 parent 7e12149 commit cb0c593

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Classes/SkillsTab.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ local SkillsTabClass = newClass("SkillsTab", "UndoHandler", "ControlHost", "Cont
238238
self.displayGroup.imbuedSupport = nil
239239
end
240240
end
241+
self.modFlag = true
241242
end, true, true)
242243
local function isImbuedEnabled() -- socketedIn must be set and the displayGroup must have an imbued, otherwise disable the imbued dropdown
243244
return (self.displayGroup and self.displayGroup.slot and ((self.imbuedSupportBySlot[self.displayGroup.slot] and self.displayGroup.imbuedSupport) or not self.imbuedSupportBySlot[self.displayGroup.slot]))
@@ -254,6 +255,7 @@ local SkillsTabClass = newClass("SkillsTab", "UndoHandler", "ControlHost", "Cont
254255
self.displayGroup.imbuedSupport = nil
255256
self.imbuedSupportBySlot[self.displayGroup.slot] = nil
256257
self.build.buildFlag = true
258+
self.modFlag = true
257259
end)
258260
self.controls.imbuedSupportClear.enabled = function()
259261
return isImbuedEnabled()

0 commit comments

Comments
 (0)