Skip to content

Commit

Permalink
Small errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus-Maior committed May 22, 2024
1 parent 723db61 commit 1e901b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WoWPro/WoWPro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ end
function WoWPro.ShowGuideMenu()
WoWPro.BuildGuideInMenuList()
local menuFrame = _G.CreateFrame("Frame", "WoWPro_Guides", _G.UIParent, "UIDropDownMenuTemplate")
menuFrame:SetPoint("Center", _G.UIParent, "Center")
menuFrame:SetPoint("CENTER", _G.UIParent, "CENTER")
_G.EasyMenu(WoWPro.GuideMenuList, menuFrame, menuFrame, 0 , 0, "MENU")
end

Expand Down Expand Up @@ -1115,7 +1115,7 @@ function WoWPro:GuideClassSpecific(guide,class)
return -- Allow developers to check everything, if they want
end
if engClass ~= class then
WoWPro:UnRegisterGuide(guide,"Guide %s is class specific and you don't match", guide.GID)
WoWPro:UnRegisterGuide(guide,("Guide %s is class specific and you don't match"):format(guide.GID))
end
end

Expand Down

0 comments on commit 1e901b8

Please sign in to comment.