Skip to content

Commit

Permalink
Update API
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed May 2, 2023
1 parent a76fbb0 commit 0585030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ls_UI/core/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ E.SCREEN_WIDTH = E:Round(UIParent:GetRight())
E.SCREEN_SCALE = UIParent:GetScale()

E.VER = {
string = _G.GetAddOnMetadata(addon, "Version")
string = C_AddOns.GetAddOnMetadata(addon, "Version")
}
E.VER.number = tonumber(E.VER.string:gsub("%D", ""), nil)

Expand Down

0 comments on commit 0585030

Please sign in to comment.