mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
core: fix version number on tbc
This commit is contained in:
@@ -256,7 +256,7 @@ pfUI:SetScript("OnEvent", function()
|
||||
|
||||
if arg1 == pfUI.name then
|
||||
-- read pfUI version from .toc file
|
||||
local major, minor, fix = pfUI.api.strsplit(".", tostring(GetAddOnMetadata("pfUI", "Version")))
|
||||
local major, minor, fix = pfUI.api.strsplit(".", tostring(GetAddOnMetadata(pfUI.name, "Version")))
|
||||
pfUI.version.major = tonumber(major) or 1
|
||||
pfUI.version.minor = tonumber(minor) or 2
|
||||
pfUI.version.fix = tonumber(fix) or 0
|
||||
|
||||
Reference in New Issue
Block a user