WoWInterface - View Single Post - Using the new Map API
View Single Post
07-24-18, 10:31 AM   #2
A Cyclonian
LanceDH's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 41
I don't know about getting around the table issue, but for less function calls try:

Lua Code:
  1. hooksecurefunc(WorldMapFrame, "OnMapChanged", function()
  2.     local mapID = WorldMapFrame.mapID;
  3. end);
  Reply With Quote