Skip to content

Commit

Permalink
Fix error when opening the settings while Blizzmove is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Numynum authored Sep 10, 2024
1 parent f5bfd35 commit 7b3f9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/scaleTalentFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function Module:GetName()
end

function Module:GetOptions(defaultOptionsTable, db)
self.blizzMoveEnabled = _G.BlizzMoveAPI or C_AddOns.GetAddOnEnableState('BlizzMove', UnitName('player')) == 2;
self.blizzMoveEnabled = not not (_G.BlizzMoveAPI or C_AddOns.GetAddOnEnableState('BlizzMove', UnitName('player')) == 2);
self.db = db;

if self.blizzMoveEnabled then
Expand Down

0 comments on commit 7b3f9c6

Please sign in to comment.