Where, exactly, did you find this code? After a search (in Notepad++) through NxMap.lua I couldn't find the code
as posted, but did manage to find a small block of code that approximates it. This is lines 204 through 208 of NxMap.lua.
Lua Code:
end
Nx.Map.UpdateMapID = WorldMapFrame.mapID
if Nx.Map.UpdateMapID then
SetMapByID(Nx.Map.UpdateMapID)
end
This is the only block of code that I could find (in that file). Just out of curiosity, I also checked NxMapData.lua and couldn't even get close.
Please let us know where you found that piece of code - I miss my Carbonite in the WoW BETA.