mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
core: fix version number on tbc
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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