WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   WorldMapFrame.lua typo (https://www.wowinterface.com/forums/showthread.php?t=53478)

myrroddin 05-22-16 02:14 AM

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.
Quote:

Wrong: local blobID = ArcheologyGetVisibleBlobID(i);
Quote:

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

elcius 05-22-16 09:44 AM

renaming the function would cause problems, it's better to leave it alone.

Seerah 05-22-16 03:43 PM

Is it a typo in the spelling of the word, or the spelling of the function name? (ie, is it calling the function or no?)

Predicate 05-22-16 04:05 PM

It is calling the function that exists. The API itself has the misspelling, but that is the only place it's called in the default UI, so it might not be too problematic to change.

Seerah 05-22-16 04:07 PM

So this isn't a bug then, myrroddin. It's a typo in the spelling of the word, yes, but it's not the first one, and it won't be the last. :)


All times are GMT -6. The time now is 01:45 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI