Skip to content

Commit

Permalink
Added a little lua error
Browse files Browse the repository at this point in the history
  • Loading branch information
tdymel committed Jun 7, 2017
1 parent 2dd54eb commit 7839ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function MPOWA:ApplyAttributesToButton(i, button)
p = i
bool = true
end
if not _G("ConfigButton"..p) then return end
if not _G("ConfigButton"..p) or not MPOWA_SAVE[i] then return end
button:ClearAllPoints()
button:SetPoint("TOPLEFT",MPowa_ButtonContainer,"TOPLEFT",42*(p-1)+6 - floor((p-1)/7)*7*42,-11-floor((p-1)/7)*41)
button:SetID(i)
Expand Down

1 comment on commit 7839ee8

@tdymel
Copy link
Owner Author

@tdymel tdymel commented on 7839ee8 Jun 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

Please sign in to comment.