Fixed /key not showing the map name

This commit is contained in:
Tercio Jose
2024-07-30 12:59:00 -03:00
committed by andrew6180
parent 5659b7d9f0
commit 4c65968927
4 changed files with 19 additions and 3 deletions
+9
View File
@@ -825,6 +825,15 @@ Details222.Parser.EventFrame:SetScript("OnEvent", function(self, event, ...)
end
end)
function Details222.Parser.GetState()
local parserEngine = Details222.parser_frame:GetScript("OnEvent")
if (parserEngine == Details222.Parser.OnParserEvent) then
return "STATE_REGULAR"
elseif (parserEngine == Details222.Parser.OnParserEventOutOfCombat) then
return "STATE_RESTRICTED"
end
end
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--storage stuff ~storage