View Single Post
05-22-16, 02:14 AM   #1
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
WorldMapFrame.lua typo

I was looking for Archaeology stuff in WorldMapFrame.lua, live version, and noticed an error. Then I compared to build 21737 of Legion Beta, and lo and behold, the same error exists! I know this section of the forums is bug reports that will hopefully be sent to Blizzard; would it not also be prudent to post on their bug report forums?

In build 21737, these are lines 2856 - 2863. The typo is line 2860, or line 5 below.
Wrong: local blobID = ArcheologyGetVisibleBlobID(i);
Right: local blobID =ArchaeologyGetVisibleBlobID(i);
Lua Code:
  1. function ArchaeologyDigSiteFrame_OnUpdate()
  2.     WorldMapArchaeologyDigSites:DrawNone();
  3.     local numEntries = ArchaeologyMapUpdateAll();
  4.     for i = 1, numEntries do
  5.         local blobID = ArcheologyGetVisibleBlobID(i);
  6.         WorldMapArchaeologyDigSites:DrawBlob(blobID, true);
  7.     end
  8. end