View Single Post
07-27-18, 02:40 AM   #9
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by Lesteryoung View Post
And how would I write that change into the aforementioned code? Just delete the second "_,"?
Yes. For all the APIs that have had a return value removed and not replaced, then all the other return values are shifted one position left.
Lua Code:
  1. -- OLD VERSION
  2. local name, rank, itemID, textureID = ExampleAPI()
  3.  
  4. -- NEW VERSION
  5. local name, itemID, textureID = ExampleAPI()
  Reply With Quote