Skip to content

Commit

Permalink
rearrange code
Browse files Browse the repository at this point in the history
  • Loading branch information
artscout committed Jul 18, 2024
1 parent 555e772 commit ebb9728
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Carbonite.Notes/NxFav.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1659,8 +1659,8 @@ function Nx.Notes:HandyNotes(mapId)
end

function Nx.Notes:RareScanner(mapId)
local map = Nx.Map:GetMap (1)
if (Nx.fdb.profile.Notes.RareScanner and RareScanner) then

rspins = {}

local FROM_ON_SHOW = true
Expand All @@ -1673,9 +1673,8 @@ function Nx.Notes:RareScanner(mapId)
for pin in WorldMapFrame:EnumeratePinsByTemplate("RSOverlayTemplate") do
rspins[#rspins + 1] = pin
end

local map = Nx.Map:GetMap (1)
local level = nil --"PIN_FRAME_LEVEL_AREA_POI"

local level = nil

map:InitIconType ("!RSR", "WP", "", Nx.fdb.profile.Notes.RareScannerSize or 32, Nx.fdb.profile.Notes.RareScannerSize or 32)
map:SetIconTypeChop ("!RSR", true)
Expand Down

0 comments on commit ebb9728

Please sign in to comment.