Skip to content

Commit

Permalink
Merge pull request #363 from artscout/master
Browse files Browse the repository at this point in the history
Small fix for HandyNotes
  • Loading branch information
IrcDirk authored May 16, 2024
2 parents 260cdb4 + 1cd358d commit 1803eb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Carbonite.Notes/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ L["If you have HandyNotes installed, allows them on the Carbonite map"] = "Ес
L["Handnotes Icon Size"] = "Размер иконки HandyNotes"

-- Keybinds
L["Carbonite Notes"] = "Carbonite Notes"
L["NxTOGGLEFAV"] = "show/hide Notes"
L["Carbonite Notes"] = "Заметки Carbonite"
L["NxTOGGLEFAV"] = "Показать/Скрыть Заметки"
3 changes: 3 additions & 0 deletions Carbonite.Notes/NxFav.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,9 @@ end
function Nx.Notes:HandyNotes(mapId)
local map = Nx.Map:GetMap (1)
if (Nx.fdb.profile.Notes.HandyNotes and HandyNotes) then
if not C_Map.GetMapInfo(mapId) then
return
end
if C_Map.GetMapInfo(mapId).mapType ~= 3 then
return
end
Expand Down

0 comments on commit 1803eb3

Please sign in to comment.