More fixes for Classic WoW

This version should be stable on Classic WoW.
This commit is contained in:
Tercioo
2019-05-26 14:48:12 -03:00
parent 643d25bb91
commit e21d70e46e
5 changed files with 75 additions and 5 deletions
+9 -1
View File
@@ -339,7 +339,7 @@ function _G._detalhes:Start()
local newFrame = CreateFrame ("frame", "DetailsMythicPlusFrame", UIParent)
newFrame.DevelopmentDebug = false
--disabnling the mythic+ feature if the user is playing in wow classic
--disabling the mythic+ feature if the user is playing in wow classic
if (not DetailsFramework.IsClassicWow()) then
newFrame:RegisterEvent ("CHALLENGE_MODE_START")
newFrame:RegisterEvent ("CHALLENGE_MODE_COMPLETED")
@@ -1875,6 +1875,14 @@ function _G._detalhes:Start()
--> override the overall data flag on this release only (remove on the next release)
--Details.overall_flag = 0x10
--show warning message about classic beta
if (not DetailsFramework.IsClassicWow()) then
print ("|CFFFFFF00[Tercioo]: this version of Details! is being ported to Classic WoW, bugs may appear here on BfA, report at Discord (/details discord).")
else
print ("|CFFFFFF00[Tercioo]: thanks for testing Details! Damage Meter for Classic WoW, report bugs at Discord (/details discord).")
end
end