Re-making the commit for reported issues on classic wow

This commit is contained in:
Tercioo
2019-05-28 13:25:48 -03:00
parent 7c9a3957b4
commit 6069094af7
3 changed files with 14 additions and 2 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