core: fix version number on tbc

This commit is contained in:
shagu
2019-10-08 20:47:36 +02:00
parent 8fff926785
commit ba700713fb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
## Interface: 20400
## Title: |cff33ffccpf|cffffffffUI |cffaa5555[incomplete]
## Title: |cff33ffccpf|cffffffffUI |cffaaaaaa[beta]
## Author: Shagu
## Notes: A complete user interface replacement.
## Version: 4.2.0
+1 -1
View File
@@ -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